Skip to content

Commit

Permalink
provider: add default to listdir path
Browse files Browse the repository at this point in the history
  • Loading branch information
robcxyz committed Dec 1, 2022
1 parent d35b7c4 commit 30357ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tackle/providers/paths/hooks/listdir.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ListdirHook(BaseHook):
"""Hook for `listdir`. Lists the contents of a directory."""

hook_type: str = 'listdir'
path: str = Field(None, description="Path to directory to list contents.")
path: str = Field('.', description="Path to directory to list contents.")
sort: bool = Field(False, description="Boolean to sort the output")
ignore_hidden_files: bool = Field(
None, description="Boolean to ignore hidden files"
Expand Down

0 comments on commit 30357ce

Please sign in to comment.