Skip to content

Commit

Permalink
fix(args): set preserve_env to "" if it's empty (fixes #775)
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Mar 17, 2024
1 parent b881313 commit ad7edcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pikaur/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ class PikaurArgs(Namespace):
skip_aur_pull: bool | None
positional: list[str]
read_stdin: bool = False
preserve_env: str
preserve_env: str = ""

def __getattr__(self, name: str) -> PossibleArgValuesTypes:
transformed_name = name.replace("-", "_")
Expand Down

0 comments on commit ad7edcd

Please sign in to comment.