Skip to content

Commit ddc4352

Browse files
committed
fix: replace regex with correct project name valdiation
1 parent 62128b4 commit ddc4352

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/cli/lib/config/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"projects": {
2828
"type": "object",
2929
"patternProperties": {
30-
"^(?:@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$": {
30+
"^(?:@[a-zA-Z0-9_-]+\/)?[a-zA-Z0-9_-]+$": {
3131
"$ref": "#/definitions/project"
3232
}
3333
},

0 commit comments

Comments
 (0)