0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-24 22:46:02 -05:00

[ci] yarn format

This commit is contained in:
jonathantneal 2021-11-09 17:59:06 +00:00 committed by GitHub Actions
parent ba38147ccc
commit 69092fec06

View file

@ -127,7 +127,7 @@ export async function loadConfig(options: LoadConfigOptions): Promise<AstroConfi
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`