[ci] yarn format

This commit is contained in:
natemoo-re 2021-06-04 21:39:15 +00:00 committed by GitHub Actions
parent 1d930ffdf4
commit 24d7057dad
2 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@ async function runCommand(rawRoot: string, cmd: (a: AstroConfig, options: any) =
const cmdMap = new Map<string, (a: AstroConfig, opts?: any) => Promise<void>>([
['build', buildAndExit],
['dev', devServer],
['reload', reloadAndExit]
['reload', reloadAndExit],
]);
/** The primary CLI action */
@ -137,7 +137,7 @@ export async function cli(args: string[]) {
}
case 'build':
case 'dev': {
if(flags.reload) {
if (flags.reload) {
await reload();
}

View file

@ -15,4 +15,4 @@ export async function reload() {
} catch {
return 1;
}
}
}