Skip to content

Commit

Permalink
fix class method overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtlongcs committed Oct 7, 2023
1 parent 4c06798 commit 99ffe7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codetext/codetext_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def parse_file(file_path: str, language: str = None, verbose: bool = False) -> L

cls_info["method"] = cls_method
cls_metadata.append(cls_info)
method_list.extend(method_list)
method_list.extend(current_class_methods)

fn_list: List = parser.get_function_list(root_node)
for node in fn_list[:]:
Expand Down

0 comments on commit 99ffe7d

Please sign in to comment.