From c0016e676e9d44a9f0b0a22c6a8dc990a6c5435b Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Tue, 10 Mar 2020 08:18:43 +0100 Subject: [PATCH] Revert "fix lint" This reverts commit e138879479010d7f26db9d69b26e62fe99640b0e. --- jenkins.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/jenkins.js b/jenkins.js index e6fee9d..17b8b20 100644 --- a/jenkins.js +++ b/jenkins.js @@ -18,11 +18,9 @@ if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string') child_process.exec ('git log -1 | grep \'\\[no publish\\]\'') .addListener ('exit', (code) => { - if (code === 0) + if (code === 0) { console.log ('build not marked for deployment'); - - // process.exit (1); - - else - child_process.execSync ('yarn publish'); + //process.exit (1); + } + else { child_process.execSync ('yarn publish'); } });