Commit 09e1eb3
fix(generate): normalize pwd before using it (angular#4065)
`process.env.PWD` is different between gitbash and cmd
- gitbash: `D:/sandbox/master-project/src/app/other`
- cmd: `D:\sandbox\master-project\src\app\other`
Normalizing it via `path.normalize` solves the problem.
Fix angular#16391 parent c783968 commit 09e1eb3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments