0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00

[ci] format

This commit is contained in:
Florian Lefebvre 2024-07-18 06:22:30 +00:00 committed by Emanuele Stoppa
parent 6059b4234b
commit 8d0d7044f6
2 changed files with 2 additions and 2 deletions

View file

@ -8,9 +8,9 @@ import {
VIRTUAL_MODULES_IDS, VIRTUAL_MODULES_IDS,
VIRTUAL_MODULES_IDS_VALUES, VIRTUAL_MODULES_IDS_VALUES,
} from './constants.js'; } from './constants.js';
import { type InvalidVariable, invalidVariablesToError } from './errors.js';
import type { EnvSchema } from './schema.js'; import type { EnvSchema } from './schema.js';
import { getEnvFieldType, validateEnvVariable } from './validators.js'; import { getEnvFieldType, validateEnvVariable } from './validators.js';
import { invalidVariablesToError, type InvalidVariable } from './errors.js';
// TODO: reminders for when astro:env comes out of experimental // TODO: reminders for when astro:env comes out of experimental
// Types should always be generated (like in types/content.d.ts). That means the client module will be empty // Types should always be generated (like in types/content.d.ts). That means the client module will be empty

View file

@ -3,9 +3,9 @@ import { schema } from 'virtual:astro:env/internal';
import { import {
createInvalidVariablesError, createInvalidVariablesError,
getEnv, getEnv,
getEnvFieldType,
setOnSetGetEnv, setOnSetGetEnv,
validateEnvVariable, validateEnvVariable,
getEnvFieldType,
} from 'astro/env/runtime'; } from 'astro/env/runtime';
export const getSecret = (key) => { export const getSecret = (key) => {