mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] format
This commit is contained in:
parent
ca969d538a
commit
e7bfbf877e
2 changed files with 2 additions and 2 deletions
2
packages/astro/src/env/vite-plugin-env.ts
vendored
2
packages/astro/src/env/vite-plugin-env.ts
vendored
|
@ -8,9 +8,9 @@ import {
|
|||
VIRTUAL_MODULES_IDS,
|
||||
VIRTUAL_MODULES_IDS_VALUES,
|
||||
} from './constants.js';
|
||||
import { type InvalidVariable, invalidVariablesToError } from './errors.js';
|
||||
import type { EnvSchema } from './schema.js';
|
||||
import { getEnvFieldType, validateEnvVariable } from './validators.js';
|
||||
import { invalidVariablesToError, type InvalidVariable } from './errors.js';
|
||||
|
||||
// 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
|
||||
|
|
2
packages/astro/templates/env/module.mjs
vendored
2
packages/astro/templates/env/module.mjs
vendored
|
@ -3,9 +3,9 @@ import { schema } from 'virtual:astro:env/internal';
|
|||
import {
|
||||
createInvalidVariablesError,
|
||||
getEnv,
|
||||
getEnvFieldType,
|
||||
setOnSetGetEnv,
|
||||
validateEnvVariable,
|
||||
getEnvFieldType,
|
||||
} from 'astro/env/runtime';
|
||||
|
||||
export const getSecret = (key) => {
|
||||
|
|
Loading…
Reference in a new issue