Skip to content

Commit 1b52f82

Browse files
committed
Exclude file beginning with .
1 parent 3371f34 commit 1b52f82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/fosslight_binary/binary_analysis.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,8 @@ def get_file_list(path_to_find, abs_path_to_exclude):
168168
bin_item.exclude = True
169169
elif extension in _EXCLUDE_FILE_EXTENSION:
170170
bin_item.exclude = True
171+
elif file.startswith('.'):
172+
bin_item.exclude = True
171173
bin_list.append(bin_item)
172174
file_cnt += 1
173175
return file_cnt, bin_list, found_jar

0 commit comments

Comments
 (0)