Skip to content

Commit

Permalink
docs: fix typo in save-peer description
Browse files Browse the repository at this point in the history
PR-URL: #4072
Credit: @chalkygames123
Close: #4072
Reviewed-by: @wraithgar
  • Loading branch information
chalkygames123 authored and wraithgar committed Nov 22, 2021
1 parent c5c6d16 commit fc46a79
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/content/using-npm/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ Save installed packages to a package.json file as `optionalDependencies`.
* Default: false
* Type: Boolean

Save installed packages. to a package.json file as `peerDependencies`
Save installed packages to a package.json file as `peerDependencies`

<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/config/definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ define('save-peer', {
default: false,
type: Boolean,
description: `
Save installed packages. to a package.json file as \`peerDependencies\`
Save installed packages to a package.json file as \`peerDependencies\`
`,
flatten (key, obj, flatOptions) {
if (!obj[key]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ exports[`test/lib/utils/config/definitions.js TAP > config description for save-
* Default: false
* Type: Boolean
Save installed packages. to a package.json file as \`peerDependencies\`
Save installed packages to a package.json file as \`peerDependencies\`
`

exports[`test/lib/utils/config/definitions.js TAP > config description for save-prefix 1`] = `
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ Save installed packages to a package.json file as \`optionalDependencies\`.
* Default: false
* Type: Boolean
Save installed packages. to a package.json file as \`peerDependencies\`
Save installed packages to a package.json file as \`peerDependencies\`
<!-- automatically generated, do not edit manually -->
<!-- see lib/utils/config/definitions.js -->
Expand Down

0 comments on commit fc46a79

Please sign in to comment.