Skip to content

Commit f2a641a

Browse files
authored
Merge pull request #135 from fosslight/temp
Add git ignore option(-c) for excluding
2 parents 2a530ff + 0a78400 commit f2a641a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fosslight_prechecker/_precheck.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def exclude_gitignore_files(current_path, path):
5555
if os.path.isfile(os.path.join(root_path, '.gitignore')):
5656
cmd_result = subprocess.check_output(['git',
5757
'ls-files',
58-
'-i',
58+
'-ci',
5959
'--exclude-from=.gitignore'],
6060
universal_newlines=True)
6161
cmd_result = cmd_result.split('\n')

0 commit comments

Comments
 (0)