From 8088325281bc976e8a8aea4d7527b54f4e25fb5f Mon Sep 17 00:00:00 2001 From: siemhesda <143130929+siemhesda@users.noreply.github.com> Date: Mon, 18 Sep 2023 11:16:33 -0700 Subject: [PATCH] docs: Update npm-doctor.md (#6800) --- docs/lib/content/commands/npm-doctor.md | 2 +- lib/commands/doctor.js | 2 +- tap-snapshots/test/lib/commands/publish.js.test.cjs | 1 - tap-snapshots/test/lib/docs.js.test.cjs | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/lib/content/commands/npm-doctor.md b/docs/lib/content/commands/npm-doctor.md index a015521fc1b3e..d43164eb3a5d3 100644 --- a/docs/lib/content/commands/npm-doctor.md +++ b/docs/lib/content/commands/npm-doctor.md @@ -1,7 +1,7 @@ --- title: npm-doctor section: 1 -description: Check your npm environment +description: Check the health of your npm environment --- ### Synopsis diff --git a/lib/commands/doctor.js b/lib/commands/doctor.js index 96e343701d1d5..2a528d46ddb8d 100644 --- a/lib/commands/doctor.js +++ b/lib/commands/doctor.js @@ -99,7 +99,7 @@ const subcommands = [ ] const BaseCommand = require('../base-command.js') class Doctor extends BaseCommand { - static description = 'Check your npm environment' + static description = 'Check the health of your npm environment' static name = 'doctor' static params = ['registry'] static ignoreImplicitWorkspace = false diff --git a/tap-snapshots/test/lib/commands/publish.js.test.cjs b/tap-snapshots/test/lib/commands/publish.js.test.cjs index 8392f32bbaafa..4e9efdf6217f3 100644 --- a/tap-snapshots/test/lib/commands/publish.js.test.cjs +++ b/tap-snapshots/test/lib/commands/publish.js.test.cjs @@ -315,7 +315,6 @@ exports[`test/lib/commands/publish.js TAP re-loads publishConfig.registry if add ` exports[`test/lib/commands/publish.js TAP respects publishConfig.registry, runs appropriate scripts > new package version 1`] = ` - ` exports[`test/lib/commands/publish.js TAP restricted access > must match snapshot 1`] = ` diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index a97753c84b3ce..7b3f74a0f2704 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -2885,7 +2885,7 @@ alias: home ` exports[`test/lib/docs.js TAP usage doctor > must match snapshot 1`] = ` -Check your npm environment +Check the health of your npm environment Usage: npm doctor [ping] [registry] [versions] [environment] [permissions] [cache]