[ci] npm run format
This commit is contained in:
parent
cc1a318c41
commit
f6f01a7d7b
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
|
|
|
@ -56,4 +56,4 @@ export function setupBuild(Suite, fixturePath) {
|
|||
Suite('No errors creating a runtime', () => {
|
||||
assert.equal(setupError, undefined);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue