[ci] npm run format

This commit is contained in:
matthewp 2021-04-19 20:14:27 +00:00 committed by GitHub Actions
parent cc1a318c41
commit f6f01a7d7b
3 changed files with 3 additions and 3 deletions

View file

@ -192,7 +192,7 @@ export async function build(astroConfig: AstroConfig): Promise<0 | 1> {
if (imports.size > 0) {
try {
await bundle(imports, { dist, runtime, astroConfig });
} catch(err) {
} catch (err) {
error(logging, 'generate', err);
await runtime.shutdown();
return 1;

View file

@ -32,7 +32,7 @@ DynamicComponents('Can be built', async ({ build }) => {
try {
await build();
assert.ok(true, 'Can build a project with svelte dynamic components');
} catch(err) {
} catch (err) {
console.log(err);
assert.ok(false, 'build threw');
}

View file

@ -56,4 +56,4 @@ export function setupBuild(Suite, fixturePath) {
Suite('No errors creating a runtime', () => {
assert.equal(setupError, undefined);
});
}
}