Skip to content

Commit

Permalink
Log the merging
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed Dec 27, 2017
1 parent e4b56c9 commit 8770290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/commands/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ async function setupNewChromedriver (opts, curDeviceId, adb) {
opts.chromeOptions = {};
for (let opt of _.keys(opts)) {
if (opt.includes('chromeOptions')) {
logger.warn(`Merging '${opt}' into 'chromeOptions'. This may cause unexpected behavior`);
_.merge(opts.chromeOptions, opts[opt]);
}
}
Expand Down

0 comments on commit 8770290

Please sign in to comment.