Skip to content

Commit bd90115

Browse files
authored
action: allow ** globs (#106)
Signed-off-by: William Woodruff <[email protected]>
1 parent faa37e3 commit bd90115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def _fatal_help(msg):
205205

206206
# NOTE: We use a set here to deduplicate inputs, in case a glob expands
207207
# to the same input multiple times.
208-
files = {Path(f).resolve() for f in glob(input_)}
208+
files = {Path(f).resolve() for f in glob(input_, recursive=True)}
209209

210210
# Prevent empty glob expansions, rather than silently allowing them.
211211
# Either behavior is technically correct but an empty glob indicates

0 commit comments

Comments
 (0)