refactor: Add .js file extension to blame script file filter

This commit is contained in:
Paul Gauthier 2024-11-21 10:31:59 -08:00 committed by Paul Gauthier (aider)
parent 2ce3fedbfc
commit 4498549783

View file

@ -23,7 +23,7 @@ def blame(start_tag, end_tag=None):
files = [
f
for f in files
if f.endswith((".py", ".scm", ".sh", "Dockerfile", "Gemfile"))
if f.endswith((".js", ".py", ".scm", ".sh", "Dockerfile", "Gemfile"))
or (f.startswith(".github/workflows/") and f.endswith(".yml"))
or f == "aider/website/share/index.md"
or f == "aider/website/docs/leaderboards/index.md"