Content-Length: 256349 | pFad | http://github.com/npm/cli/commit/f2d69478923b919c77bbb8bdb70c30ddeb59ffe7

AE fix: move warning to new line when `npm init` is canceled · npm/cli@f2d6947 · GitHub
Skip to content

Commit f2d6947

Browse files
mbtoolsowlstronaut
authored andcommitted
fix: move warning to new line when npm init is canceled
1 parent dda6f87 commit f2d6947

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/commands/init.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ class Init extends BaseCommand {
177177
return data
178178
} catch (er) {
179179
if (er.message === 'canceled') {
180+
output.flush()
180181
log.warn('init', 'canceled')
181182
} else {
182183
throw er

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/npm/cli/commit/f2d69478923b919c77bbb8bdb70c30ddeb59ffe7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy