Skip to content

Commit b13b564

Browse files
author
xero harrison
committed
update to work with raw.githubusercontent.com urls
1 parent 924e829 commit b13b564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitio

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ optstest() {
4343
found=0
4444
for arg in "$@"
4545
do
46-
if echo $arg | cut -d/ -f3 | grep -Eq "github.com"
46+
if echo $arg | cut -d/ -f3 | grep -q "github.com\|raw.githubusercontent.com"
4747
then
4848
GHURL=$arg
4949
found=1

0 commit comments

Comments
 (0)