Repository navigation
Commit fe119a7
fix(@schematics/angular): show routing module suffixes in
When only routing modules are found, the error message printed the optional
`routingModuleExt` parameter, which no schematic passes, so users saw
"Modules with suffix 'undefined' are strictly reserved for routing.". Since
0b7d48c the lookup checks both `-routing-module.ts` and `-routing.module.ts`,
so list the suffixes that are actually used.
(cherry picked from commit 490a6fe)findModule error1 parent e89807e commit fe119a7
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
59 | 62 | | |
60 | 63 | | |
61 | 64 | | |
| |||
0 commit comments