Match LegoOmni::Destroy and related (#917)

* Match LegoOmni::Destroy and related

* Write COMPAT_MODE macro differently

* fix lint issue
This commit is contained in:
Christian Semmler
2024-05-14 08:13:27 -04:00
committed by GitHub
parent ccf33575db
commit 939c09139f
7 changed files with 60 additions and 8 deletions

View File

@@ -81,6 +81,7 @@ def process_files(files, module=None):
def main():
args = parse_args()
files_to_check = []
if os.path.isdir(args.target):
files_to_check = list(walk_source_dir(args.target))
elif os.path.isfile(args.target) and is_file_cpp(args.target):