Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JakkuSakura committed Sep 5, 2024
1 parent 86408ec commit ef2568e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pyinfra/facts/files.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ def command(
fname: Optional[str] = None,
iname: Optional[str] = None,
regex: Optional[str] = None,
args: List[str] = [],
args: List[str] = None,
quote_path=True,
):
"""
Expand All @@ -349,7 +349,8 @@ def command(
@param quote_path: if the path should be quoted
@return:
"""

if args is None:
args = []
"""
Why we need special handling for size:
https://unix.stackexchange.com/questions/275925/why-does-find-size-1g-not-find-any-files
Expand Down

0 comments on commit ef2568e

Please sign in to comment.