Skip to content

Commit 4175a98

Browse files
committed
Remove superfluous backslashes
1 parent fbb6873 commit 4175a98

File tree

1 file changed

+1
-1
lines changed
  • packages/playground/website/src/components/github-private-repo-auth-modal

1 file changed

+1
-1
lines changed

packages/playground/website/src/components/github-private-repo-auth-modal/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function extractRepoName(url: string): string {
2323
}
2424

2525
// Extract owner/repo from GitHub URL
26-
const match = githubUrl.match(/github\.com\/([^\/]+\/[^\/]+)/);
26+
const match = githubUrl.match(/github\.com\/([^/]+\/[^/]+)/);
2727
return match ? match[1] : url;
2828
} catch {
2929
return url;

0 commit comments

Comments
 (0)