Skip to content

Commit

Permalink
Allowing numbers in app id
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffAshton committed May 5, 2020
1 parent 9e08e22 commit 2e548ff
Show file tree
Hide file tree
Showing 4 changed files with 4,303 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/appConfigBuilder.js
Expand Up @@ -35,7 +35,7 @@ function build(opts, loader) {
return appConfig;
}

var ID_REGEX = new RegExp("^urn:[a-zA-Z0-9][a-zA-Z0-9-]{0,31}:[a-zA-Z\-.:]+$");
var ID_REGEX = new RegExp("^urn:[a-zA-Z0-9][a-zA-Z0-9-]{0,31}:[a-zA-Z0-9\-.:]+$");
function validateId(id) {
if (!id) {
throw new Error( 'id was not specified and can\'t be found in package.json' );
Expand Down

0 comments on commit 2e548ff

Please sign in to comment.