Skip to content

Commit

Permalink
Merge pull request #260 from SalesforceCommerceCloud/feature/allow-do…
Browse files Browse the repository at this point in the history
…ts-in-version-numbers

Allow dots in code version
  • Loading branch information
kdomachowski authored Feb 20, 2024
2 parents 788a4e2 + 6cba9f9 commit ea7976f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli-api/validators/constraints/B2CCodeVersion.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ module.exports = {
}
},
format: {
pattern: '^[a-z][a-z0-9_]+',
pattern: '^[a-z][a-z0-9_\.]+',
flags: 'i',
message: function () {
return validate.format(
'^%{attr} must start with a letter -- and only contain letters, numbers, and underscores',
'^%{attr} must start with a letter -- and only contain letters, numbers, dots and underscores',
config.get('validatejs.attributePlaceholder'));
}
}
Expand Down

0 comments on commit ea7976f

Please sign in to comment.