Skip to content

Commit 99a5f32

Browse files
committed
♻ refactor: Simplify map_functions.py
1 parent 7d6fc5b commit 99a5f32

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

scripts/map_functions.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"""
88

99
import re
10-
from collections import Counter
1110
from pathlib import Path
1211

1312
JS_BUILTINS = set(
@@ -255,16 +254,6 @@ def main():
255254
else:
256255
print(f"No recommendations for {get_file_string(file)}")
257256

258-
for file in ROOT_DIR.glob("src/**/*.js"):
259-
if ignore_file(file):
260-
continue
261-
unused_functions = find_function_defined_not_used(file, functions)
262-
if unused_functions:
263-
print("-" * 100)
264-
print(get_file_string(file))
265-
print(unused_functions)
266-
print("\n\n")
267-
268257

269258
if __name__ == "__main__":
270259
main()

0 commit comments

Comments
 (0)