From 115487382278a487907427fadeef5b474d248781 Mon Sep 17 00:00:00 2001 From: Leo Lamprecht Date: Thu, 1 Dec 2016 01:21:57 +0100 Subject: [PATCH] Show proper deploying message --- bin/now-deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/now-deploy.js b/bin/now-deploy.js index 111f8e7..896c10e 100755 --- a/bin/now-deploy.js +++ b/bin/now-deploy.js @@ -239,7 +239,7 @@ async function sync(token) { } if (!quiet) { - if (gitRepo) { + if (gitRepo.main) { const gitRef = gitRepo.ref ? ` at "${chalk.bold(gitRepo.ref)}" ` : '' console.log(`> Deploying ${gitRepo.type} repository "${chalk.bold(gitRepo.main)}"` + gitRef) } else {