Fix typo
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
89458d1420
commit
8a83224072
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ class CodeParser():
|
||||||
}
|
}
|
||||||
|
|
||||||
def is_file_excluded(self, path, exclude_wildcards):
|
def is_file_excluded(self, path, exclude_wildcards):
|
||||||
"""Whether the give file path is excluded."""
|
"""Whether the given file path is excluded."""
|
||||||
# exclude_wildcards may be None. Also, consider the global exclusions.
|
# exclude_wildcards may be None. Also, consider the global exclusions.
|
||||||
exclude_wildcards = (exclude_wildcards or []) + self.excluded_files
|
exclude_wildcards = (exclude_wildcards or []) + self.excluded_files
|
||||||
for pattern in exclude_wildcards:
|
for pattern in exclude_wildcards:
|
||||||
|
|
Loading…
Reference in a new issue