Skip to content

"Which" command not working properly on Windows Platform. #238

@TingluoHuang

Description

@TingluoHuang

Install node.js on a windows box, try use shell.which to find the location of NPM.
Shell.which('npm') return "C:\Program Files\nodejs\npm" instead of the correct "C:\Program Files\nodejs\npm.cmd"
The bug is at which.js line 49.

Metadata

Metadata

Assignees

Labels

WindowsfixBug/defect, or a fix for such a problem

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions