diff --git a/packages/git/src/index.ts b/packages/git/src/index.ts index fea69aeaf..98d943ee8 100644 --- a/packages/git/src/index.ts +++ b/packages/git/src/index.ts @@ -253,11 +253,11 @@ async function getChangedPackagesSinceRef({ } async function tagExists(tagStr: string) { - const gitCmd = await spawn("git", ["tag", "-l", tagStr]); - const output = gitCmd.stdout.toString().trim(); - const tagExists = !!output; - return tagExists; - } + const gitCmd = await spawn("git", ["tag", "-l", tagStr]); + const output = gitCmd.stdout.toString().trim(); + const tagExists = !!output; + return tagExists; +} export { getCommitThatAddsFile,