mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
[ci] format
This commit is contained in:
parent
f5f8ed275b
commit
1296cb9b1a
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ type EnvSetupModule = typeof import('astro/env/setup');
|
|||
// Won't throw if the virtual module is not available because it's not supported in
|
||||
// the users's astro version or if astro:env is not enabled in the project
|
||||
const setupModule = 'astro/env/setup';
|
||||
await import(/* @vite-ignore */setupModule)
|
||||
await import(/* @vite-ignore */ setupModule)
|
||||
.then((mod: EnvSetupModule) => mod.setGetEnv((key) => process.env[key]))
|
||||
.catch(() => {});
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ type EnvSetupModule = typeof import('astro/env/setup');
|
|||
// Won't throw if the virtual module is not available because it's not supported in
|
||||
// the users's astro version or if astro:env is not enabled in the project
|
||||
const setupModule = 'astro/env/setup';
|
||||
await import(/* @vite-ignore */setupModule)
|
||||
await import(/* @vite-ignore */ setupModule)
|
||||
.then((mod: EnvSetupModule) => mod.setGetEnv((key) => process.env[key]))
|
||||
.catch(() => {});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue