We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 489c221 commit b8b8afdCopy full SHA for b8b8afd
1 file changed
lib/run-script.js
@@ -136,7 +136,7 @@ function run (pkg, wd, cmd, args, cb) {
136
'prestart', 'start', 'poststart'
137
]
138
} else {
139
- if (!pkg.scripts[cmd]) {
+ if (pkg.scripts[cmd] == null) {
140
if (cmd === 'test') {
141
pkg.scripts.test = 'echo \'Error: no test specified\''
142
} else if (cmd === 'env') {
0 commit comments