Skip to content

Commit

Permalink
add exclude
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenGuidou committed Jun 5, 2024
1 parent 0b8fe26 commit c52e1bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ted.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ def main():
loader = DirectoryLoader(
path=clone_path,
glob=generator.get_file_glob(), # @TODO Find a way to use glob with extensions: "**/*{" +",".join(generator.getFileExtensions()) + "}",
exclude=["**/*.yml", "**/*.json"],
show_progress=True,
loader_cls=TextLoader
)
Expand Down

0 comments on commit c52e1bb

Please sign in to comment.