Skip to content

Commit d8b9c7a

Browse files
authored
fix(run-script-against-repos): add support for capital letters for $org/$user and $repo (#42)
1 parent 55f5367 commit d8b9c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/run-script-against-repositories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export async function runScriptAgainstRepositories(state, octoherdRepos = []) {
1717
const invalid = values.find((value) => {
1818
if (value.trim() === "*") return;
1919

20-
if (/^[a-z0-9_.-]+\/[a-z0-9_.*-]+$/.test(value.trim())) {
20+
if (/^[a-zA-Z0-9_.-]+\/[a-zA-Z0-9_.*-]+$/.test(value.trim())) {
2121
return;
2222
}
2323

0 commit comments

Comments
 (0)