Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
This is a CLI Docs Problem, not another kind of Docs Problem.
- This is a CLI Docs Problem.
Description of Problem
The page says:
Scripts are run by passing the line as a script argument to sh.
But the CLI actually uses the user's config option first, or if no config is set, cmd
on Windows, sh
on others. The hyperlinks go to the code responsible for those decisions.
Potential Solution
No response
Affected URL
https://docs.npmjs.com/cli/v8/using-npm/scripts#exiting
Edit: Changed the code links to point to code as it was then instead of latest