mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 12:25:39 +01:00
check-files: support Windows .bat files
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
129d04169a
commit
af387e0ce1
@ -103,7 +103,7 @@ class LineIssueTracker(FileIssueTracker):
|
|||||||
|
|
||||||
def is_windows_file(filepath):
|
def is_windows_file(filepath):
|
||||||
_root, ext = os.path.splitext(filepath)
|
_root, ext = os.path.splitext(filepath)
|
||||||
return ext in ('.dsp', '.sln', '.vcxproj')
|
return ext in ('.bat', '.dsp', '.sln', '.vcxproj')
|
||||||
|
|
||||||
|
|
||||||
class PermissionIssueTracker(FileIssueTracker):
|
class PermissionIssueTracker(FileIssueTracker):
|
||||||
@ -224,6 +224,7 @@ class IntegrityChecker:
|
|||||||
self.logger = None
|
self.logger = None
|
||||||
self.setup_logger(log_file)
|
self.setup_logger(log_file)
|
||||||
self.extensions_to_check = (
|
self.extensions_to_check = (
|
||||||
|
".bat",
|
||||||
".c",
|
".c",
|
||||||
".data",
|
".data",
|
||||||
".dsp",
|
".dsp",
|
||||||
|
Loading…
Reference in New Issue
Block a user