Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2020-08-07 20:15:48 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-08-07 21:19:54 +0300
commitb8b4d77af836f8c49832dda29a0de1b3c2d39233 (patch)
treefd6aed17f406b4eee947f4e0c2f1b59c27a4065c
parentf6d468a3b4bef0b3cc134065d776969869fca51e (diff)
Direct users to our GitHub issues instead of npm.community
PR-URL: https://github.com/npm/cli/pull/1638 Credit: @isaacs Close: #1638 Reviewed-by: @ruyadorno
-rw-r--r--docs/src/components/FoundTypo.js6
-rw-r--r--lib/utils/error-handler.js2
-rw-r--r--package.json2
3 files changed, 6 insertions, 4 deletions
diff --git a/docs/src/components/FoundTypo.js b/docs/src/components/FoundTypo.js
index 5aca08949..d3bfe6e0b 100644
--- a/docs/src/components/FoundTypo.js
+++ b/docs/src/components/FoundTypo.js
@@ -13,8 +13,10 @@ const FoundTypo = () => {
<p><span role='img' aria-label='eyes-emoji'>👀</span> Found a typo? <a href='https://github.com/npm/cli/'>Let us know!</a></p>
<p>The current stable version of npm is <a href='https://github.com/npm/cli/'>here</a>. To upgrade, run: <code className='language-text'>npm install npm@latest -g</code></p>
<p>
- To report bugs or submit feature requests for the docs, please post <a href='https://npm.community/c/support/docs-needed'>here</a>.
- Submit npm issues <a href='https://npm.community/c/bugs'>here.</a>
+ To report bugs or submit feature requests for the docs, or for any
+ issues regarding the npm command line tool, please post <a
+ href='https://github.com/npm/cli/issues'>on the npm/cli GitHub
+ project</a>.
</p>
</Container>
)
diff --git a/lib/utils/error-handler.js b/lib/utils/error-handler.js
index 94ce38ad0..720130adf 100644
--- a/lib/utils/error-handler.js
+++ b/lib/utils/error-handler.js
@@ -54,7 +54,7 @@ process.on('exit', code => {
log.error('', 'cb() never called!')
console.error('')
log.error('', 'This is an error with npm itself. Please report this error at:')
- log.error('', ' <https://npm.community>')
+ log.error('', ' <https://github.com/npm/cli/issues>')
writeLogFile()
}
diff --git a/package.json b/package.json
index 5dd45988b..8bbbfc10f 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
"url": "https://github.com/npm/cli"
},
"bugs": {
- "url": "https://npm.community/c/bugs"
+ "url": "https://github.com/npm/cli/issues"
},
"directories": {
"bin": "./bin",