Revert "fix lint"

This reverts commit e138879479010d7f26db9d69b26e62fe99640b0e.
This commit is contained in:
Timo Hocker 2020-03-10 08:18:43 +01:00
parent e138879479
commit c0016e676e

View File

@ -18,11 +18,9 @@ if (typeof pkg.scripts !== 'undefined' && typeof pkg.scripts.test === 'string')
child_process.exec ('git log -1 | grep \'\\[no publish\\]\'') child_process.exec ('git log -1 | grep \'\\[no publish\\]\'')
.addListener ('exit', (code) => { .addListener ('exit', (code) => {
if (code === 0) if (code === 0) {
console.log ('build not marked for deployment'); console.log ('build not marked for deployment');
//process.exit (1); //process.exit (1);
}
else else { child_process.execSync ('yarn publish'); }
child_process.execSync ('yarn publish');
}); });