From 69092fec06b5c63fbce825bca2001e263cf7c968 Mon Sep 17 00:00:00 2001 From: jonathantneal Date: Tue, 9 Nov 2021 17:59:06 +0000 Subject: [PATCH] [ci] yarn format --- packages/astro/src/core/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/astro/src/core/config.ts b/packages/astro/src/core/config.ts index 5f970d60c9..84f4865122 100644 --- a/packages/astro/src/core/config.ts +++ b/packages/astro/src/core/config.ts @@ -123,11 +123,11 @@ interface LoadConfigOptions { export async function loadConfig(options: LoadConfigOptions): Promise { const root = options.cwd ? path.resolve(options.cwd) : process.cwd(); let userConfig: AstroUserConfig = {}; - let userConfigPath: string|undefined; + let userConfigPath: string | undefined; if (options.filename) { userConfigPath = /^\.*\//.test(options.filename) ? options.filename : `./${options.filename}`; - userConfigPath = fileURLToPath(new URL(userConfigPath, `file://${root}/`)) + userConfigPath = fileURLToPath(new URL(userConfigPath, `file://${root}/`)); } // Automatically load config file using Proload // If `userConfigPath` is `undefined`, Proload will search for `astro.config.[cm]?[jt]s`