mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-31 22:45:55 +00:00
check-files: support Windows .bat files
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
317e7a19eb
commit
7c8c9c9531
|
@ -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):
|
||||||
|
@ -223,6 +223,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 a new issue