Skip to content

Commit 377712f

Browse files
committed
CDP-1321-v1
1 parent e4bda19 commit 377712f

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

commands/utils/validate.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -354,11 +354,11 @@ module.exports = validate_config = function (lt_config, validation_configs) {
354354
}
355355

356356
//Validate Build Tags
357-
//1) less than 5
357+
//1) less than 20
358358
//2) each tag should be less than 50 characters
359359
if (lt_config.run_settings.build_tags) {
360-
if (lt_config.run_settings.build_tags.length > 5) {
361-
reject("Build Tags can not be more than 5");
360+
if (lt_config.run_settings.build_tags.length > 20) {
361+
reject("Build Tags can not be more than 20");
362362
}
363363
for (let i = 0; i < lt_config.run_settings.build_tags.length; i++) {
364364
if (lt_config.run_settings.build_tags[i].length > 50) {
@@ -367,12 +367,11 @@ module.exports = validate_config = function (lt_config, validation_configs) {
367367
}
368368
}
369369
//Validate Test Tags
370-
//1) less than 6
370+
//1) less than 20
371371
//2) each tag should be less than 50 characters
372372
if (lt_config.run_settings.tags) {
373-
if (lt_config.run_settings.tags.length > 6) {
374-
reject("Test Tags can not be more than 6");
375-
}
373+
if (lt_config.run_settings.tags.length > 20) {
374+
reject("Test Tags can not be more than 20")
376375
for (let i = 0; i < lt_config.run_settings.tags.length; i++) {
377376
if (lt_config.run_settings.tags[i].length > 50) {
378377
reject("Test Tags can not have over 50 characters");

0 commit comments

Comments
 (0)