Skip to content

Commit 97b0bd7

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 1ccf8dd + e618bdc commit 97b0bd7

123 files changed

Lines changed: 4435 additions & 2261 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎bin/convert-argv.js‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,11 @@ module.exports = function(yargs, argv, convertOptions) {
275275
}
276276

277277
ifArgPair("entry", function(name, entry) {
278-
options.entry[name] = entry;
278+
if(typeof options.entry[name] !== "undefined" && options.entry[name] !== null) {
279+
options.entry[name] = [].concat(options.entry[name]).concat(entry);
280+
} else {
281+
options.entry[name] = entry;
282+
}
279283
}, function() {
280284
ensureObject(options, "entry");
281285
});

0 commit comments

Comments
 (0)