Skip to content

Commit

Permalink
feat: read setting from global pnpm config file
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Dec 23, 2022
1 parent 986e4b4 commit ac15aae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ module.exports = (opts, types, defaults) => {
}

warnings.push(conf.addFile(conf.get('globalconfig'), 'global'));
if (conf.get('globalPnpmConfig')) {
warnings.push(conf.addFile(conf.get('globalPnpmConfig'), 'pnpm-global'));
}
conf.loadUser();

const caFile = conf.get('cafile');
Expand Down

0 comments on commit ac15aae

Please sign in to comment.