Skip to content

Commit 649d3e6

Browse files
Japneet Singh ChawlaJapneet Singh Chawla
authored andcommitted
Merge branch 'dev' of github.com:LambdaTest/lambdatest-cypress-cli into dev
2 parents 96f31d7 + 852a474 commit 649d3e6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

commands/utils/validate.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,13 @@ module.exports = validate_config = function (lt_config) {
171171
}
172172
}
173173
}
174+
if ("smart_ui" in lt_config.run_settings) {
175+
if (!("project" in lt_config.run_settings.smart_ui)) {
176+
reject("Smart UI project name is missing");
177+
} else if (lt_config.run_settings.smart_ui.project == "") {
178+
reject("Smart UI porject name can not be blank");
179+
}
180+
}
174181
resolve("Validated the Config");
175182
});
176183
};

0 commit comments

Comments
 (0)