Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: don't ham-it-up when expecting parseable output (#16336)
* Don't ham-it-up when expecting JSON I turned on the ham-it-up configuration setting, and then noticed that I received an error when running the npm-windows-upgrade module, because it was trying to parse the JSON from calling `npm view npm versions --json` and didn't know what to do with the easter egg text at the end. This change disables the ham-it-up text when the json option is present. PR-URL: npm/npm#16336 Credit: @bdukes Reviewed-By: @zkat
- Loading branch information