Drop protocol check

This commit is contained in:
Nora
2023-01-31 14:18:12 +00:00
parent 7ec4b4bc96
commit 9e54e5eced
2 changed files with 2 additions and 7 deletions

View File

@@ -51,9 +51,6 @@ function getNwoOrOwnerFromGitHubUrl(
): string | undefined {
try {
const uri = new URL(githubUrl);
if (uri.protocol !== "https:") {
return;
}
if (uri.hostname !== "github.com" && uri.hostname !== "www.github.com") {
return;
}