Skip to content

Commit 9aff29d

Browse files
doitshaoqunjiang
authored andcommittedMar 6, 2019
fix: setting env by -e in e2e tests (#3583)
1 parent 3afdab0 commit 9aff29d

File tree

1 file changed

+1
-1
lines changed
  • packages/@vue/cli-plugin-e2e-nightwatch

1 file changed

+1
-1
lines changed
 

‎packages/@vue/cli-plugin-e2e-nightwatch/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ module.exports = (api, options) => {
3737
rawArgs.push('--config', require.resolve('./nightwatch.config.js'))
3838
}
3939

40-
if (rawArgs.indexOf('--env') === -1) {
40+
if (rawArgs.indexOf('--env') === -1 && rawArgs.indexOf('-e') === -1) {
4141
rawArgs.push('--env', 'chrome')
4242
}
4343

0 commit comments

Comments
 (0)
Please sign in to comment.