mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
fix cpp_lint bug
This commit is contained in:
parent
2e2f9c209c
commit
22b375c058
3
.github/workflows/cpplint_modified_files.yml
vendored
3
.github/workflows/cpplint_modified_files.yml
vendored
@ -42,7 +42,8 @@ jobs:
|
||||
print("g++:")
|
||||
# compile_exts = tuple(".c .c++ .cc .cpp .cu .cxx".split())
|
||||
# compile_files = [file for file in cpp_files if file.lower().endswith(compile_exts)]
|
||||
subprocess.run(["g++"] + cpp_files, check=True, text=True)
|
||||
for cpp_file in cpp_files:
|
||||
subprocess.run(["g++", cpp_file], check=True, text=True)
|
||||
|
||||
upper_files = [file for file in cpp_files if file != file.lower()]
|
||||
if upper_files:
|
||||
|
Loading…
Reference in New Issue
Block a user