Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: missing backtick in synopsis of npm init (#5837) #6048

Merged
merged 1 commit into from Jan 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/commands/init.js
Expand Up @@ -28,7 +28,7 @@ class Init extends BaseCommand {

static name = 'init'
static usage = [
'<package-spec> (same as `npx <package-spec>)',
'<package-spec> (same as `npx <package-spec>`)',
'<@scope> (same as `npx <@scope>/create`)',
]

Expand Down
4 changes: 2 additions & 2 deletions tap-snapshots/test/lib/docs.js.test.cjs
Expand Up @@ -3139,7 +3139,7 @@ exports[`test/lib/docs.js TAP usage init > must match snapshot 1`] = `
Create a package.json file

Usage:
npm init <package-spec> (same as \`npx <package-spec>)
npm init <package-spec> (same as \`npx <package-spec>\`)
npm init <@scope> (same as \`npx <@scope>/create\`)

Options:
Expand All @@ -3152,7 +3152,7 @@ aliases: create, innit
Run "npm help init" for more info

\`\`\`bash
npm init <package-spec> (same as \`npx <package-spec>)
npm init <package-spec> (same as \`npx <package-spec>\`)
npm init <@scope> (same as \`npx <@scope>/create\`)

aliases: create, innit
Expand Down