We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7fc2ee commit fda90f4Copy full SHA for fda90f4
commands/utils/validate.js
@@ -57,7 +57,7 @@ module.exports = validate_config = function (lt_config, validation_configs) {
57
if (!(max_duration == undefined ||
58
max_duration == null ||
59
isNaN(max_duration))) {
60
- if (Number(parallels) && Number(parallels) % 1 !== 0){
+ if (Number(max_duration) && Number(max_duration) % 1 !== 0){
61
reject("Error!! max_duration should be and Integer between 2 and 240 minutes");
62
}else if (parseInt(max_duration) <2 || parseInt(max_duration) > 240){
63
reject("Error!! max_duration should be between 2 and 240 minutes");
0 commit comments