Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
bcotrim committed Feb 6, 2025
1 parent 23e4f7c commit 8b77848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/lib/git-utils.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const getLatestTag = () => {
.toString()
.trim()
.split( '\n' );

// Find first tag that doesn't include '-' (no pre-release part)
const latestReleaseTag = tags.find( ( tag ) => ! tag.includes( '-' ) );
return latestReleaseTag || '';
Expand Down Expand Up @@ -40,4 +40,4 @@ export const getCommitCount = ( latestTag ) => {
} catch ( error ) {
throw new Error( 'Failed to get commit count: ' + error.message );
}
};
};

0 comments on commit 8b77848

Please sign in to comment.