From 356c59feb1fae6434f14480f56ce3bc7c5d27552 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Tue, 23 Apr 2024 15:10:25 +0800 Subject: [PATCH] fix: check using defaultPublishCommand --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index 0ab8f9f..98fb5e6 100644 --- a/src/index.js +++ b/src/index.js @@ -161,7 +161,7 @@ class ReleaseItPnpmPlugin extends Plugin { } // Using custom publish command - if (!publishCommand?.startsWith('pnpm')) + if (publishCommand !== defaultPublishCommand) needPublish = true }