From fcbf827c3ee2d90be31490e1d28a6d71e84cbbf5 Mon Sep 17 00:00:00 2001 From: Peally Date: Thu, 12 Jan 2023 17:03:09 +0100 Subject: [PATCH] docs: missing backtick in synopsis of npm init (#5837) --- lib/commands/init.js | 2 +- tap-snapshots/test/lib/docs.js.test.cjs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/commands/init.js b/lib/commands/init.js index d1bde934374c9..16ece46589d7c 100644 --- a/lib/commands/init.js +++ b/lib/commands/init.js @@ -28,7 +28,7 @@ class Init extends BaseCommand { static name = 'init' static usage = [ - ' (same as `npx )', + ' (same as `npx `)', '<@scope> (same as `npx <@scope>/create`)', ] diff --git a/tap-snapshots/test/lib/docs.js.test.cjs b/tap-snapshots/test/lib/docs.js.test.cjs index 492c82afc40b2..ad37be5218e1a 100644 --- a/tap-snapshots/test/lib/docs.js.test.cjs +++ b/tap-snapshots/test/lib/docs.js.test.cjs @@ -3139,7 +3139,7 @@ exports[`test/lib/docs.js TAP usage init > must match snapshot 1`] = ` Create a package.json file Usage: -npm init (same as \`npx ) +npm init (same as \`npx \`) npm init <@scope> (same as \`npx <@scope>/create\`) Options: @@ -3152,7 +3152,7 @@ aliases: create, innit Run "npm help init" for more info \`\`\`bash -npm init (same as \`npx ) +npm init (same as \`npx \`) npm init <@scope> (same as \`npx <@scope>/create\`) aliases: create, innit