Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
raineorshine committed Feb 10, 2024
1 parent 29f0e51 commit fae7f11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/package-managers/gitTags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ export const greatestLevel =
export const minor = greatestLevel('minor')
export const patch = greatestLevel('patch')

/** semver is not possible on a remote Git URL, do nothing. */
/** All git tags are exact versions, so --target semver should never upgrade git tags. */
// https://github.com/raineorshine/npm-check-updates/pull/1368
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const semver: GetVersion = async (_name: string, _declaration: VersionSpec, _options?: Options) => {
return { version: null }
Expand Down

0 comments on commit fae7f11

Please sign in to comment.