Skip to content

Commit

Permalink
Remove the lines that overwrite other settings (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
kojiwell committed May 25, 2022
1 parent 0e10ea1 commit a5f7c2c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/trops/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,8 @@ def update(self):
f"The '{ self.trops_env }' environment does not exists on { self.trops_conf }")
exit(1)

config[self.trops_env]['git_dir'] = self.trops_git_dir
config[self.trops_env]['sudo'] = 'False'
config[self.trops_env]['work_tree'] = self.trops_work_tree
if self.trops_git_remote:
config[self.trops_env]['git_remote'] = self.trops_git_remote
if self.args.git_remote:
config[self.trops_env]['git_remote'] = self.args.git_remote
if self.args.logfile:
config[self.trops_env]['logfile'] = self.args.logfile
if self.args.tags:
Expand Down

0 comments on commit a5f7c2c

Please sign in to comment.