Skip to content

Commit 6fe8e26

Browse files
committed
pull 626 branch
2 parents 77cc4bf + 1731de9 commit 6fe8e26

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

commands/run.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ module.exports = function (args) {
6666
set_args
6767
.sync_args_from_cmd(args)
6868
.then(function (lt_config) {
69-
console.log("lt_config -> ", lt_config);
7069
//validate the config options
7170
validate(lt_config, resp)
7271
.then(function (cypressVersion) {

commands/utils/validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ module.exports = validate_config = function (lt_config, validation_configs) {
393393
}
394394

395395
//validate that if npm_via_tunnel is set, tunnel must be set to true
396-
if (lt_config["run_settings"]["npm_via_tunnel"]==true && lt_config["run_settings"]["tunnel"] ==false){
396+
if (lt_config["run_settings"]["npm_via_tunnel"]==true && lt_config["tunnel_settings"]["tunnel"]==false){
397397
reject("Error!! Installing npm packages behind private VPN is supported only with tunnel. Please pass tunnel as true.")
398398
}else{
399399
console.log("Warning!! Using the flag `npm_via_tunnel` may result in higher build duration.")

0 commit comments

Comments
 (0)