Skip to content

Commit

Permalink
[ci] npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and actions-user committed Apr 19, 2021
1 parent cc1a318 commit f6f01a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion test/astro-dynamic.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ export function setupBuild(Suite, fixturePath) {
Suite('No errors creating a runtime', () => {
assert.equal(setupError, undefined);
});
}
}

0 comments on commit f6f01a7

Please sign in to comment.