Skip to content

Commit

Permalink
fix(new): improve error message when project name does not match regex
Browse files Browse the repository at this point in the history
  • Loading branch information
beeman committed Jan 10, 2017
1 parent 979e4f9 commit b58d697
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/angular-cli/commands/new.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const NewCommand = Command.extend({
return Promise.reject(new SilentError(oneLine`
Project name "${packageName}" is not valid. New project names must
start with a letter, and must contain only alphanumeric characters or dashes.
When adding a dash the segment after the dash must start with a letter too.
`));
}

Expand Down

0 comments on commit b58d697

Please sign in to comment.