Skip to content

Conversation

@filipesilva
Copy link
Contributor

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 #1639

`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#1639
@hansl hansl merged commit 09e1eb3 into angular:master Jan 17, 2017
@filipesilva filipesilva deleted the fix-gitbash-paths branch January 17, 2017 20:15
MRHarrison pushed a commit to MRHarrison/angular-cli that referenced this pull request Feb 9, 2017
`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#1639
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Component not generated in specified directory.

4 participants