diff options
author | isaacs <i@izs.me> | 2020-08-18 19:51:42 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2020-08-18 22:26:28 +0300 |
commit | 5cb9a1d4d985aaa8e988c51fe5ae7f7ed3602811 (patch) | |
tree | c8ba4a7c51df98f2d6a5098f3e4c619cc569adfa /bin | |
parent | e929b28c0d9040d136d70534702ac2067aa0ff06 (diff) |
use @npmcli/config for configuration
This also refactors the completion.js command, still pending proper tests.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/npx-cli.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/npx-cli.js b/bin/npx-cli.js index 716dc958e..f4a419972 100755 --- a/bin/npx-cli.js +++ b/bin/npx-cli.js @@ -24,7 +24,7 @@ const removed = new Set([ ...removedOpts ]) -const { types, shorthands } = require('../lib/config/defaults.js') +const { types, shorthands } = require('../lib/utils/config.js') const npmSwitches = Object.entries(types) .filter(([key, type]) => type === Boolean || (Array.isArray(type) && type.includes(Boolean))) |