Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
view: directly print to process.stdout
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: npm#1639
- Loading branch information