Skip to content

Commit

Permalink
Merge pull request #22006 from storybookjs/shilman/21982-fix-packagem…
Browse files Browse the repository at this point in the history
…gr-typo

CLI: Fix JsPackageManager typo
  • Loading branch information
shilman committed Apr 10, 2023
1 parent 57eb8a6 commit 897aa52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/lib/cli/src/js-package-manager/JsPackageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export abstract class JsPackageManager {
delete packageJsonToWrite.devDependencies;
}
if (
packageJsonToWrite.dependencies &&
packageJsonToWrite.peerDependencies &&
Object.keys(packageJsonToWrite.peerDependencies).length === 0
) {
delete packageJsonToWrite.peerDependencies;
Expand Down

0 comments on commit 897aa52

Please sign in to comment.