Skip to content

Commit 7e4e4cc

Browse files
committed
CDP-1321-v1
1 parent a0258d1 commit 7e4e4cc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

commands/utils/validate.js

Lines changed: 6 additions & 6 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 20
357+
//1) less than 15
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 > 20) {
361-
reject("Build Tags can not be more than 20");
360+
if (lt_config.run_settings.build_tags.length > 15) {
361+
reject("Build Tags can not be more than 15");
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,11 +367,11 @@ module.exports = validate_config = function (lt_config, validation_configs) {
367367
}
368368
}
369369
//Validate Test Tags
370-
//1) less than 20
370+
//1) less than 15
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 > 20) {
374-
reject("Test Tags can not be more than 20")
373+
if (lt_config.run_settings.tags.length > 15) {
374+
reject("Test Tags can not be more than 15")
375375
}
376376
for (let i = 0; i < lt_config.run_settings.tags.length; i++) {
377377
if (lt_config.run_settings.tags[i].length > 50) {

0 commit comments

Comments
 (0)