Skip to content

Commit a845ae4

Browse files
Add comment about the user/repo input format
Co-authored-by: payne911 <38117856+payne911@users.noreply.github.com>
1 parent d772cdf commit a845ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/src/queries-init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function getQueryOrDefault(defaultVal) {
171171

172172
const isShorthand = /^[\w\.-]+\/[\w\.-]+$/;
173173
if (isShorthand.test(val)) {
174-
return val;
174+
return val; // we are dealing with "user/repo" input format
175175
} else {
176176
return new URL(val).pathname;
177177
}

0 commit comments

Comments
 (0)