Skip to content

Commit 031cfd6

Browse files
committedSep 28, 2024
chore: lint
1 parent dc10e5d commit 031cfd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/repo.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function getRepoConfig(repoUrl = ""): RepoConfig {
110110
domain = url.hostname;
111111
const paths = url.pathname.split("/");
112112
repo = paths
113-
.slice(1, paths.length)
113+
.slice(1)
114114
.join("/")
115115
.replace(/\.git$/, "");
116116
provider = domainToProvider[domain];

0 commit comments

Comments
 (0)
Please sign in to comment.