fix ci folder check

This commit is contained in:
Krishna Vedala 2020-10-30 17:42:31 +05:30
parent 2b4ee7ac57
commit 8cca34378d
No known key found for this signature in database
GPG Key ID: BA19ACF8FC8792F7

View File

@ -136,7 +136,7 @@ jobs:
print(f"{len(space_files)} files contain space or dash characters:")
print("\n".join(space_files) + "\n")
nodir_files = [file for file in cpp_files if file.count(os.sep) != 1 and "project_euler" not in file and "data_structure" not in file]
nodir_files = [file for file in cpp_files if file.count(os.sep) != 1 and "project_euler" not in file and "leetcode" not in file and "data_structure" not in file]
if nodir_files:
print(f"{len(nodir_files)} files are not in one and only one directory:")
print("\n".join(nodir_files) + "\n")