Skip to content

Commit 950d898

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

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.appveyor.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ install:
1313
test_script:
1414
- node --version
1515
- npm --version
16-
- node tests\run_e2e.js --appveyor
16+
- node tests\run_e2e.js --appveyor --glob="tests/generate/module/module-import.ts"
1717

1818
build: off
1919

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)