Skip to content

Commit 60221e0

Browse files
authored
improper glob syntax
1 parent 3e63720 commit 60221e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { glob } from "npm:glob"
1010
let path = core.getInput("path")
1111
if ((await lstat(path)).isDirectory()) {
1212
console.log("original path")
13-
const pattern = join(path, "[Rr][Ee][Aa][Dd][Mm][Ee].(md|mdown|markdown)")
13+
const pattern = join(path, "[Rr][Ee][Aa][Dd][Mm][Ee].{md,mdown,markdown}")
1414
console.log("glob pattern", pattern)
1515
[path] = await glob(pattern)
1616
}

0 commit comments

Comments
 (0)