Skip to content

Commit

Permalink
bugfix: Show last version release notes on demand
Browse files Browse the repository at this point in the history
  • Loading branch information
tgodzik committed Jun 20, 2022
1 parent da2cd30 commit 07b7419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/releaseNotesProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async function showReleaseNotesImpl(
// if there was no previous version or user explicitly wants to read release notes
// show release notes for current cleaned version
if (!previousVersion || calledOn === "onUserDemand") {
return makeRight(currentVersion);
return makeRight(cleanVersion);
}

const compare = semver.compare(cleanVersion, previousVersion);
Expand Down

0 comments on commit 07b7419

Please sign in to comment.