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-07-23 23:28:00 +0300
committerisaacs <i@izs.me>2020-07-29 21:54:59 +0300
commit8654c05e6e8cabf4642425b9e6373aeae9801c21 (patch)
treea8a5053204d15c5eff467a90175526eba6233999 /lib/bugs.js
parentc3b3b79b03583887ba8e63201c1a01e8043a89e9 (diff)
lint the lib folder
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`)