Skip to content

Commit 7c6cee1

Browse files
Merge pull request #407 from abhishek-lambda/CYP-1005
fix private cloud
2 parents 5b9d041 + 36e5be4 commit 7c6cee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

commands/utils/validate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ module.exports = validate_config = function (lt_config, validation_configs) {
453453
}
454454

455455
if ("privateCloud" in lt_config["run_settings"]) {
456-
if (!(typeof lt_config["run_settings"]["privateCloud"] === "boolean")) {
457-
reject("Error!! boolean value is expected in command_log key");
456+
if (![true, false].includes(lt_config["run_settings"]["privateCloud"])) {
457+
reject("Error!! boolean value is expected in privateCloud key");
458458
}
459459
}
460460

0 commit comments

Comments
 (0)