mirror of
https://github.com/withastro/astro.git
synced 2025-03-10 23:01:26 -05:00
[ci] format
This commit is contained in:
parent
6059b4234b
commit
8d0d7044f6
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,
|
||||||
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
|
||||||
|
|
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 {
|
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) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue