Skip to content

Commit fda90f4

Browse files
committed
fix typo
1 parent c7fc2ee commit fda90f4

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
@@ -57,7 +57,7 @@ module.exports = validate_config = function (lt_config, validation_configs) {
5757
if (!(max_duration == undefined ||
5858
max_duration == null ||
5959
isNaN(max_duration))) {
60-
if (Number(parallels) && Number(parallels) % 1 !== 0){
60+
if (Number(max_duration) && Number(max_duration) % 1 !== 0){
6161
reject("Error!! max_duration should be and Integer between 2 and 240 minutes");
6262
}else if (parseInt(max_duration) <2 || parseInt(max_duration) > 240){
6363
reject("Error!! max_duration should be between 2 and 240 minutes");

0 commit comments

Comments
 (0)