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 'node_modules/pacote/lib/util/opt-check.js')
-rw-r--r--node_modules/pacote/lib/util/opt-check.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/pacote/lib/util/opt-check.js b/node_modules/pacote/lib/util/opt-check.js
index 938ffc7da..dd8aa518d 100644
--- a/node_modules/pacote/lib/util/opt-check.js
+++ b/node_modules/pacote/lib/util/opt-check.js
@@ -23,7 +23,7 @@ function PacoteOptions (opts) {
this.registry = opts.registry || 'https://registry.npmjs.org'
this.retry = opts.retry // for npm-registry-client
this.scope = opts.scope
- this.userAgent = opts.userAgent || `${pkg.name}@${pkg.version}/node@{process.version}+${process.arch} (${process.platform})`
+ this.userAgent = opts.userAgent || `${pkg.name}@${pkg.version}/node@${process.version}+${process.arch} (${process.platform})`
this.where = opts.where
this.preferOnline = opts.preferOnline
this.isFromCI = !!(