From dc5bf050b02c119a332b9b830eda432cb9cea77a Mon Sep 17 00:00:00 2001 From: Spencer Hamm Date: Wed, 5 May 2021 14:22:40 -0500 Subject: [PATCH] remove useless double check for newTag --- plugins/git-tag/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git-tag/src/index.ts b/plugins/git-tag/src/index.ts index d523460a2..63afc9af6 100644 --- a/plugins/git-tag/src/index.ts +++ b/plugins/git-tag/src/index.ts @@ -51,7 +51,7 @@ export default class GitTagPlugin implements IPlugin { const prefixedTag = auto.prefixRelease(newTag); - if (dryRun && prefixedTag) { + if (dryRun) { if (quiet) { console.log(prefixedTag); } else {