-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps
Description
Is there an existing issue for this?
- I have searched the existing issues
This issue exists in the latest npm version
- I am using the latest npm
Current Behavior
NPM Ci accepts the —before argument, but after raising issue #8817
I learned this is not the designed behavior and should not be accepted as an argument to npm ci.
Expected Behavior
Throw error when invalid argument —before is passed to an npm ci command
Steps To Reproduce
- In this environment...
- With this config...
- Run npm ci —before “2024”
- See lack of error, also lack of intention to accept that argument since it is missing from docs and —help
Environment
- npm: 10
- Node.js: 22
- OS Name: Mac Os
- System Model Name:
- npm config: not relevant
Metadata
Metadata
Assignees
Labels
Bugthing that needs fixingthing that needs fixingNeeds Triageneeds review for next stepsneeds review for next steps