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:
Diffstat (limited to 'lib/bugs.js')
-rw-r--r--lib/bugs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bugs.js b/lib/bugs.js
index 85b975758..e6940f36b 100644
--- a/lib/bugs.js
+++ b/lib/bugs.js
@@ -35,12 +35,12 @@ const getBugsUrl = mani => {
}
// just send them to the website, hopefully that has some info!
- return `https://www.npmjs.com/package/${mani.name}`
+ return `https://www.npmjs.com/package/${mani.name}`
}
const getBugs = async pkg => {
const opts = { ...npm.flatOptions, fullMetadata: true }
- const mani = await pacote.manifest(pkg, { fullMetadata: true })
+ const mani = await pacote.manifest(pkg, opts)
const url = getBugsUrl(mani)
log.silly('bugs', 'url', url)
await openUrl(url, `${mani.name} bug list available at the following URL`)