We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cebe937 commit 6248af7Copy full SHA for 6248af7
gah
@@ -679,7 +679,7 @@ function main() {
679
throw_error 1 "Please provide either repo in format 'owner/repo_name' or known alias.\n$HELP_STRING"
680
681
elif [[ "$2" == *"/"* ]]; then
682
- if regex_match "$2" "^[a-zA-Z0-9_-]+/[a-zA-Z0-9_-]+$"; then
+ if regex_match "$2" "^[a-zA-Z0-9_-]+\/[a-zA-Z0-9_-]+$"; then
683
repo="$2"
684
else
685
throw_error 2 "Given string '$2' is not in format 'owner/repo_name'.\n$HELP_STRING"
0 commit comments