Skip to content

Commit 2adec77

Browse files
review comment incorporated
1 parent 6841e26 commit 2adec77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/utils/validate.js

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

368368
//validate if dedicated proxy field contains expected value
369369
if ("dedicated_proxy" in lt_config["run_settings"]) {
370-
if (![true, false].includes(lt_config["run_settings"]["dedicated_proxy"])) {
370+
if (!(typeof lt_config["run_settings"]["dedicated_proxy"] === "boolean")) {
371371
reject("Error!! boolean value is expected in dedicated_proxy key");
372372
}
373373
}

0 commit comments

Comments
 (0)