Skip to content

Commit

Permalink
fix: support parse gitee repo link
Browse files Browse the repository at this point in the history
  • Loading branch information
northword committed Jun 9, 2024
1 parent 5374b3a commit 380f0f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ function resolveConfig(config: Config): Context {
encoding: "utf-8",
}),
[, owner, repo] = (pkg.repository?.url ?? "").match(
/:\/\/github.com\/([^/]+)\/([^.]+)\.git$/,
/:\/\/.*.com\/([^/]+)\/([^.]+)\.git$/,
),
data = {
owner: owner,
Expand Down

0 comments on commit 380f0f8

Please sign in to comment.