ng generate on Windows do not interpret correctly the path separator #11501
Labels
area: @angular/cli
freq3: high
P1
Impacts a large percentage of users; if a workaround exists it is partial or overly painful
severity5: regression
Bug Report
Area
Versions
Angular CLI: 6.0.8
Node: 10.4.1
OS: win32 x64 / Windows 10
Angular: 6.0.7
Repro steps
ng generate service services\Session
The log given by the failure
No log provided.
Desired functionality
Generated file should look like:
but it contains:
Note the
services\SessionService
identifier insteadSessionService
.The '\' symbol is the path separator on windows.
This used to work on previous versions of CLI.
Mention any other details that might be useful
ng generate service services/Session
works as expected.ng generate service services\Session
fails in the described way.The text was updated successfully, but these errors were encountered: