Skip to content

Commit

Permalink
inject environment variable
Browse files Browse the repository at this point in the history
 is added to the environment for all CLI requests VIT makes
  • Loading branch information
thehunmonkgroup committed Apr 28, 2022
1 parent 4d40a26 commit 150613d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vit/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def __init__(self, config):
self.config = config
self.env = env.user.copy()
self.env['TASKRC'] = self.config.taskrc_path
self.env['IS_VIT_COMMAND'] = "1"

def run(self, command, capture_output=False, custom_env={}):
if isinstance(command, str):
Expand Down

0 comments on commit 150613d

Please sign in to comment.