summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--patternutils/commands/pmatch.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/patternutils/commands/pmatch.py b/patternutils/commands/pmatch.py
index 32ddf50..ecf0a8e 100644
--- a/patternutils/commands/pmatch.py
+++ b/patternutils/commands/pmatch.py
@@ -29,6 +29,7 @@ def apply_regex(
regex_pattern: Pattern,
match_full_path: bool,
) -> Tuple[List[Dict], bool]:
+
matches = []
has_invalid_matches = False
for f in walk_function: