Skip to content

Commit

Permalink
Fixes an issue with log file path being incorrectly expanded (#34)
Browse files Browse the repository at this point in the history
Signed-off-by: NilashishC <[email protected]>
  • Loading branch information
NilashishC authored Nov 7, 2023
1 parent 2227b31 commit b7312ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ansible_creator/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from ansible_creator.config import Config
from ansible_creator.exceptions import CreatorError
from ansible_creator.output import Output
from ansible_creator.utils import TermFeatures
from ansible_creator.utils import TermFeatures, expand_path


try:
Expand Down Expand Up @@ -47,7 +47,7 @@ def init_output(self: Cli) -> None:

self.output = Output(
log_append=self.args.log_append,
log_file=self.args.log_file,
log_file=expand_path(self.args.log_file),
log_level=self.args.log_level,
term_features=self.term_features,
verbosity=self.args.verbose,
Expand Down

0 comments on commit b7312ca

Please sign in to comment.