Bug fix for files not comparing correctly
This commit is contained in:
parent
0fd62a7391
commit
9144f85820
@ -35,8 +35,8 @@ def main():
|
||||
# Read paths from the wat.paths file
|
||||
paths = read_paths_from_file(wat_paths_file_path)
|
||||
|
||||
# Filter out paths that partially match directory lines
|
||||
filtered_paths = [path for path in paths if not any(directory_line in path for directory_line in directory_files)]
|
||||
# Filter out paths that exactly match directory lines
|
||||
filtered_paths = [path for path in paths if os.path.basename(path) not in directory_files]
|
||||
|
||||
# Write the list of modified files to a text file
|
||||
output_file_path = 'missing_wat_files.txt'
|
||||
|
Loading…
Reference in New Issue
Block a user