test(base-scenario): creates nixt testing base

This commit is contained in:
Stephan Bönnemann
2015-07-09 02:10:38 +02:00
parent 9a3d9a9280
commit 4d58af7145
3 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ module.exports = function (pkg, options, env) {
))
}
if (!env.NPM_TOKEN) {
if (!(env.NPM_TOKEN || (env.NPM_OLD_TOKEN && env.NPM_EMAIL))) {
errors.push(new SemanticReleaseError(
'No npm token specified.',
'ENONPMTOKEN'