From 7ba3fca00554b884eb47f2ed661693faf2630b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Fri, 1 Jun 2018 13:31:16 -0700 Subject: [PATCH] errors: direct people to npm.community instead of github (#20855) PR-URL: https://github.com/npm/npm/pull/20855 Credit: @zkat Reviewed-By: @iarna --- lib/utils/error-handler.js | 2 +- lib/utils/error-message.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/utils/error-handler.js b/lib/utils/error-handler.js index 6631c10743d1b..c6481abf6737d 100644 --- a/lib/utils/error-handler.js +++ b/lib/utils/error-handler.js @@ -57,7 +57,7 @@ process.on('exit', function (code) { log.error('', 'cb() never called!') console.error('') log.error('', 'This is an error with npm itself. Please report this error at:') - log.error('', ' ') + log.error('', ' ') writeLogFile() } diff --git a/lib/utils/error-message.js b/lib/utils/error-message.js index 60f52bfc93992..6e148981833d3 100644 --- a/lib/utils/error-message.js +++ b/lib/utils/error-message.js @@ -348,7 +348,7 @@ function errorMessage (er) { 'typeerror', [ 'This is an error with npm itself. Please report this error at:', - ' ' + ' ' ].join('\n') ]) break