Skip to content

Commit

Permalink
Merge branch 'main' into emorphis-files-per-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
meorphis authored Oct 11, 2024
2 parents c0030a1 + d1e0063 commit eeb6d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/updaters/go/github-imports-go.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class GithubImportsGo extends DefaultUpdater {

return content.replace(
new RegExp(
`"(https://pkg.go.dev/)?github.com/${this.repository.owner}/${this.repository.repo}(/v([1-9]\\d*))?(/[^"\\r?\\n]+)?"`,
`"(https://pkg.go.dev/)?github.com/${this.repository.owner}/${this.repository.repo}(/v([1-9]\\d*))?([^"\\r\\n]+)?"`,
'g'
),
(_, prefix, __, ___, path) =>
Expand Down

0 comments on commit eeb6d35

Please sign in to comment.