E5FD
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6496ffa commit 7e51e8fCopy full SHA for 7e51e8f
Tools/build/generate_sbom.py
@@ -108,6 +108,10 @@ def filter_gitignored_paths(paths: list[str]) -> list[str]:
108
109
'.gitignore:9:*.a Tools/lib.a'
110
"""
111
+ # No paths means no filtering to be done.
112
+ if not paths:
113
+ return []
114
+
115
# Filter out files in gitignore.
116
# Non-matching files show up as '::<whitespace><path>'
117
git_check_ignore_proc = subprocess.run(
0 commit comments