Skip to content

Commit

Permalink
Merge 17e59f3 into c18aa26
Browse files Browse the repository at this point in the history
  • Loading branch information
guyathomas committed Apr 21, 2020
2 parents c18aa26 + 17e59f3 commit d936db0
Show file tree
Hide file tree
Showing 3 changed files with 2,130 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/bower-config/lib/util/rc.js
@@ -1,6 +1,6 @@
var path = require('path');
var fs = require('graceful-fs');
var optimist = require('optimist');
var yargs = require('yargs');
var osenv = require('osenv');
var object = require('mout/object');
var string = require('mout/string');
Expand All @@ -13,7 +13,7 @@ var home = osenv.home();
function rc(name, cwd, argv) {
var argvConfig;

argv = argv || optimist.argv;
argv = argv || yargs.argv;

// Parse --config.foo=false
argvConfig = object.map(argv.config || {}, function(value) {
Expand Down

0 comments on commit d936db0

Please sign in to comment.