@@ -7,6 +7,7 @@ import sys
|
||||
import base64
|
||||
import json
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
from executor.visitor import Visitor
|
||||
from executor.state import State
|
||||
@@ -82,6 +83,10 @@ def handle_git(args):
|
||||
result = os.popen(cmd)
|
||||
print(result.read())
|
||||
|
||||
repository_path = Path(INPUT_PATH)
|
||||
if not repository_path.exist():
|
||||
repository_path.mkdir(parents=True)
|
||||
|
||||
cmd = 'git config --global credential.helper store --file /tmp/.git-credentials'
|
||||
exec_cmd(cmd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user