Skip to content

Commit

Permalink
Restore committish
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanBaulch committed Nov 12, 2024
1 parent 2a56d28 commit 0940577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin-git/sources/hosted-git-info-parse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function safeURL(url: string) {
// attempt to correct an scp style url so that it will parse with `new URL()`
function correctURL(gitURL: string) {
// ignore @ that come after the first hash since the denotes the start
// of a commit hash which can contain @ characters
// of a committish which can contain @ characters
const firstAt = lastIndexOfBefore(gitURL, `@`, `#`);
// ignore colons that come after the hash since that could include colons such as:
// git@github.com:user/package-2#semver:^1.0.0
Expand Down

0 comments on commit 0940577

Please sign in to comment.