Skip to content

Commit

Permalink
Merge pull request #12 from Brightspace/jashton/allowing-numbers-in-a…
Browse files Browse the repository at this point in the history
…pp-id

Allowing numbers in app id
  • Loading branch information
JeffAshton committed May 5, 2020
2 parents 9e08e22 + 2e548ff commit 1f97945
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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit 1f97945

Please sign in to comment.