Skip to content

Commit 149d1e5

Browse files
reproduce it with logs?
1 parent caee78b commit 149d1e5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/params/gh.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
export function match(param) {
2-
return param.replace(/^https?:\/\//, "") === "github.com";
2+
const matches = param.replace(/^https?:\/\//, "") === "github.com";
3+
console.log(`${param} matches? ${matches}.`);
4+
return matches;
35
}

0 commit comments

Comments
 (0)