Skip to content

Commit

Permalink
fix: check using defaultPublishCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Apr 23, 2024
1 parent 9f5e7f6 commit 356c59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ class ReleaseItPnpmPlugin extends Plugin {
}

// Using custom publish command
if (!publishCommand?.startsWith('pnpm'))
if (publishCommand !== defaultPublishCommand)
needPublish = true
}

Expand Down

0 comments on commit 356c59f

Please sign in to comment.