From faa12ccc26b5f0790f79b2589780e536f4284491 Mon Sep 17 00:00:00 2001 From: Juan Picado Date: Sat, 15 May 2021 15:30:23 +0200 Subject: [PATCH] fix: search description typo PR-URL: https://github.com/npm/cli/pull/3253 Credit: @juanpicado Close: #3253 Reviewed-by: @wraithgar, @darcyclarke --- lib/search.js | 2 +- tap-snapshots/test/lib/load-all-commands.js.test.cjs | 2 +- tap-snapshots/test/lib/utils/npm-usage.js.test.cjs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/search.js b/lib/search.js index e67f9cc91dba2..dfb987cc07bfd 100644 --- a/lib/search.js +++ b/lib/search.js @@ -28,7 +28,7 @@ const BaseCommand = require('./base-command.js') class Search extends BaseCommand { /* istanbul ignore next - see test/lib/load-all-commands.js */ static get description () { - return 'Search for pacakges' + return 'Search for packages' } /* istanbul ignore next - see test/lib/load-all-commands.js */ diff --git a/tap-snapshots/test/lib/load-all-commands.js.test.cjs b/tap-snapshots/test/lib/load-all-commands.js.test.cjs index 06f0b7b86013f..a1f4394528b43 100644 --- a/tap-snapshots/test/lib/load-all-commands.js.test.cjs +++ b/tap-snapshots/test/lib/load-all-commands.js.test.cjs @@ -819,7 +819,7 @@ Run "npm help run-script" for more info exports[`test/lib/load-all-commands.js TAP load each command search > must match snapshot 1`] = ` npm search -Search for pacakges +Search for packages Usage: npm search [search terms ...] diff --git a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs index b6fe79fda012d..300faaa773b79 100644 --- a/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs +++ b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs @@ -884,7 +884,7 @@ All commands: search npm search - Search for pacakges + Search for packages Usage: npm search [search terms ...]