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:
authorGar <gar+gh@danger.computer>2022-03-03 21:03:09 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2022-03-10 18:40:11 +0300
commit1c182e11d524294d85348a3c2566f266bd281c00 (patch)
tree95e7419494fee239db6c8e0a0ef239be5db56128 /lib/commands
parent0da59186e5a78bbcf47c440289241e9f85ff3eba (diff)
fix(doctor): don't retry ping
Diffstat (limited to 'lib/commands')
-rw-r--r--lib/commands/doctor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/doctor.js b/lib/commands/doctor.js
index 14fda024b..552fe5d51 100644
--- a/lib/commands/doctor.js
+++ b/lib/commands/doctor.js
@@ -142,7 +142,7 @@ class Doctor extends BaseCommand {
const tracker = log.newItem('checkPing', 1)
tracker.info('checkPing', 'Pinging registry')
try {
- await ping(this.npm.flatOptions)
+ await ping({ ...this.npm.flatOptions, retry: false })
return ''
} catch (er) {
if (/^E\d{3}$/.test(er.code || '')) {