diff options
author | isaacs <i@izs.me> | 2020-10-23 20:51:58 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-10-23 20:51:58 +0300 |
commit | ed6e6a9d3c36ffc5fb77fc25b6d66dbcb26beeb9 (patch) | |
tree | 3a4563fc6398e94c98979c8cac98562230ca9cac /lib/utils | |
parent | b9c1caa8e4cc7c900d09657425ea361db5974319 (diff) |
eslint-plugin-standard@4.0.2
Diffstat (limited to 'lib/utils')
-rw-r--r-- | lib/utils/flat-options.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/utils/flat-options.js b/lib/utils/flat-options.js index 1e169535a..37daabe03 100644 --- a/lib/utils/flat-options.js +++ b/lib/utils/flat-options.js @@ -165,8 +165,8 @@ const flatOptions = npm => npm.flatOptions || Object.freeze({ binLinks: npm.config.get('bin-links'), rebuildBundle: npm.config.get('rebuild-bundle'), // --no-shrinkwrap is the same as --no-package-lock - packageLock: npm.config.get('package-lock') === false || - npm.config.get('shrinkwrap') === false ? false : true, + packageLock: !(npm.config.get('package-lock') === false || + npm.config.get('shrinkwrap') === false), packageLockOnly: npm.config.get('package-lock-only'), globalStyle: npm.config.get('global-style'), legacyBundling: npm.config.get('legacy-bundling'), |