mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Add typing to empty list variables in github_to_entries
This commit is contained in:
parent
d036fdfc26
commit
b8087c4c8e
1 changed files with 2 additions and 2 deletions
|
@ -125,8 +125,8 @@ class GithubToEntries(TextToEntries):
|
|||
return result
|
||||
|
||||
# Extract markdown files from the repository
|
||||
markdown_files = []
|
||||
org_files = []
|
||||
markdown_files: List[str] = []
|
||||
org_files: List[str] = []
|
||||
if "tree" not in contents:
|
||||
return markdown_files, org_files
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue