Skip to content

Commit

Permalink
action: allow ** globs
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <william@trailofbits.com>
  • Loading branch information
woodruffw committed Jan 24, 2024
1 parent faa37e3 commit 5756c82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def _fatal_help(msg):

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

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

0 comments on commit 5756c82

Please sign in to comment.