Skip to content

Commit ed6e6a9

Browse files
committed
1 parent b9c1caa commit ed6e6a9

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

lib/utils/flat-options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ const flatOptions = npm => npm.flatOptions || Object.freeze({
165165
binLinks: npm.config.get('bin-links'),
166166
rebuildBundle: npm.config.get('rebuild-bundle'),
167167
// --no-shrinkwrap is the same as --no-package-lock
168-
packageLock: npm.config.get('package-lock') === false ||
169-
npm.config.get('shrinkwrap') === false ? false : true,
168+
packageLock: !(npm.config.get('package-lock') === false ||
169+
npm.config.get('shrinkwrap') === false),
170170
packageLockOnly: npm.config.get('package-lock-only'),
171171
globalStyle: npm.config.get('global-style'),
172172
legacyBundling: npm.config.get('legacy-bundling'),

package-lock.json

Lines changed: 21 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@
184184
"eslint-plugin-import": "^2.22.1",
185185
"eslint-plugin-node": "^11.1.0",
186186
"eslint-plugin-promise": "^4.2.1",
187-
"eslint-plugin-standard": "^4.0.1",
187+
"eslint-plugin-standard": "^4.0.2",
188188
"marked-man": "^0.7.0",
189189
"require-inject": "^1.4.4",
190190
"tap": "^14.10.8"

0 commit comments

Comments
 (0)