From f6f01a7d7b01736dbbf921bc1ec12ed3c8412630 Mon Sep 17 00:00:00 2001
From: matthewp <matthewp@users.noreply.github.com>
Date: Mon, 19 Apr 2021 20:14:27 +0000
Subject: [PATCH] [ci] npm run format

---
 src/build.ts               | 2 +-
 test/astro-dynamic.test.js | 2 +-
 test/helpers.js            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/build.ts b/src/build.ts
index 219c36919f..4c693ca073 100644
--- a/src/build.ts
+++ b/src/build.ts
@@ -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;
diff --git a/test/astro-dynamic.test.js b/test/astro-dynamic.test.js
index 6c726131c2..c3743ddad5 100644
--- a/test/astro-dynamic.test.js
+++ b/test/astro-dynamic.test.js
@@ -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');
   }
diff --git a/test/helpers.js b/test/helpers.js
index ab4c28f30f..6d69040047 100644
--- a/test/helpers.js
+++ b/test/helpers.js
@@ -56,4 +56,4 @@ export function setupBuild(Suite, fixturePath) {
   Suite('No errors creating a runtime', () => {
     assert.equal(setupError, undefined);
   });
-}
\ No newline at end of file
+}