-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: npm view should not output extra newline
Currently in npm 7 output of npm view is being printed by a call to console.log which is causing an extra newline on output compared to npm 6. Replace the call to console.log with process.stdout.write to avoid this. Fixes: #1639 PR-URL: #1791 Credit: @MylesBorins Close: #1791 Reviewed-by: @ruyadorno
- Loading branch information
1 parent
c13806b
commit 63005f4
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters