Skip to content

Commit f7aa377

Browse files
committed
fix(@angular/cli): test with updated devkit
1 parent c98aa92 commit f7aa377

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@angular/cli/commands/new.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const NewCommand = Command.extend({
9898

9999
if (/^\d/.test(rawArgs[1])) {
100100
SilentError.debugOrThrow('@angular/cli/commands/generate',
101-
`The \`ng generate ${schematicName} ${rawArgs[1]}\` file name cannot begin with a digit.`);
101+
`The \`ng new ${rawArgs[0]}\` file name cannot begin with a digit.`);
102102
}
103103

104104
const SchematicGetOptionsTask = require('../tasks/schematic-get-options').default;

0 commit comments

Comments
 (0)