diff --git a/filter_files.py b/filter_files.py index 204e97a..9773b4e 100644 --- a/filter_files.py +++ b/filter_files.py @@ -2,5 +2,5 @@ import json if __name__ == "__main__": - files = sys.argv[1].split("\n") + files = [x for x in sys.argv[1].split("\n") if x.endswith("js") or x.endswith("map")] print(json.dumps(files))