Make sure the ignored files get used. fix #2425
This commit is contained in:
1 parent
c73dc10aeb
commit
9b92a3d396
1 file changed
+5
@@ -201,6 +201,11 @@ class Scanner(Plugin):
|
||||
|
||||
has_ignored += 1 if ext == 'ignore' else 0
|
||||
|
||||
if has_ignored == 0:
|
||||
for file_path in list(group['unsorted_files']):
|
||||
ext = getExt(file_path)
|
||||
has_ignored += 1 if ext == 'ignore' else 0
|
||||
|
||||
if has_ignored > 0:
|
||||
ignored_identifiers.append(identifier)
|
||||
|
||||
|
||||
Reference in new issue
Block a user