diff options
author | Gar <gar+gh@danger.computer> | 2022-03-03 21:03:09 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2022-03-10 18:40:11 +0300 |
commit | 1c182e11d524294d85348a3c2566f266bd281c00 (patch) | |
tree | 95e7419494fee239db6c8e0a0ef239be5db56128 /lib | |
parent | 0da59186e5a78bbcf47c440289241e9f85ff3eba (diff) |
fix(doctor): don't retry ping
Diffstat (limited to 'lib')
-rw-r--r-- | lib/commands/doctor.js | 2 |
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 || '')) { |