Skip to content

Commit 894be00

Browse files
committed
Update convert-argv.js
Removed old code
1 parent fe71cde commit 894be00

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

bin/convert-argv.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,6 @@ module.exports = function(optimist, argv, convertOptions) {
9393
options = require(configPath);
9494
configFileLoaded = true;
9595
}
96-
97-
if(typeof options === "function" || (typeof options === "object" && typeof options["default"] === "object")) {
98-
options = options(argv.env, argv);
99-
}
10096

10197
var isES6DefaultExportedFunc = (typeof options === "object" && typeof options["default"] === "function");
10298
if(typeof options === "function" || isES6DefaultExportedFunc) {

0 commit comments

Comments
 (0)