Skip to content
This repository was archived by the owner on Mar 13, 2024. It is now read-only.

Commit 01271e9

Browse files
committedJul 29, 2019
Restore --no-dev/no-peer for explicit --missing
Fixes #105
1 parent d22bc2d commit 01271e9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed
 

‎cli.js

+8-4
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,14 @@ check({
9999
}
100100
}
101101
if (runAllTests || args.missing) {
102-
const missing = check.missing(pkg, deps, Object.assign({}, options, {
103-
excludeDev: false,
104-
excludePeer: false
105-
}))
102+
const optionsForMissingCheck = runAllTests
103+
? Object.assign({}, options, {
104+
excludeDev: false,
105+
excludePeer: false
106+
})
107+
: options
108+
109+
const missing = check.missing(pkg, deps, optionsForMissingCheck)
106110

107111
failed += missing.length
108112

0 commit comments

Comments
 (0)
This repository has been archived.