From d51a6024c74ead46f093d7450dbe647c995fd529 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Sat, 26 Nov 2016 17:05:50 +0100 Subject: [PATCH] Swallow errors, just check if falsy --- bin/now-deploy.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/now-deploy.js b/bin/now-deploy.js index 86f3d3b..86ca03b 100755 --- a/bin/now-deploy.js +++ b/bin/now-deploy.js @@ -222,7 +222,9 @@ async function sync(token) { } }, 500) - repo = await onGitHub(rawPath, debug) + try { + repo = await onGitHub(rawPath, debug) + } catch (err) {} clearInterval(dots) process.stdout.write('\n')