Skip to content

Commit

Permalink
fix: git doc task incorrect filter condition
Browse files Browse the repository at this point in the history
  • Loading branch information
MadratJerry committed Aug 18, 2024
1 parent 1a4748b commit 965d9d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion petercat_utils/rag_helper/git_doc_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def handle_tree_node(self):

task_list = list(
filter(
lambda item: item["path"].endswith(".md") or item["node_type"] == "tree",
lambda item: item["path"].endswith(".md") or item["node_type"] == GitDocTaskNodeType.TREE.value,
map(
lambda item: {
"repo_name": self.repo_name,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "petercat_utils"
version = "0.1.27"
version = "0.1.28"
description = ""
authors = ["raoha.rh <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 965d9d4

Please sign in to comment.