Compare commits

...
1 Commits
Author SHA1 Message Date
Stephan Bönnemann f2c701ca1b feat(cli): use --no-cli to publish locally w/o prompt 2015-02-02 23:30:55 +01:00
+1 -1
View File
@@ -72,7 +72,7 @@ if (~argv._.indexOf('post')) {
}
function confirmCI (cb) {
if (process.env.CI) return cb(null, true)
if (process.env.CI || argv.ci === false) return cb(null, true)
confirm('Not running in a CI enviroment. Are you sure you want to run this hook?', function (ok) {
if (!ok) process.exit(1)