fixed bug in git checkout script
This commit is contained in:
parent
76c1f18c4f
commit
b99d01165e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ def _git_checkout(git_hash:str):
|
||||||
subprocess.check_call('git reset --hard {}'.format(git_hash), shell=True)
|
subprocess.check_call('git reset --hard {}'.format(git_hash), shell=True)
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
print('ERROR: checkout failed, using master instead.')
|
print('ERROR: checkout failed, using master instead.')
|
||||||
subprocess.check_call('git checkout master')
|
subprocess.check_call('git checkout master', shell=True)
|
||||||
|
|
||||||
|
|
||||||
def _apply_patch(diff_id: str, conduit_token: str, host: str):
|
def _apply_patch(diff_id: str, conduit_token: str, host: str):
|
||||||
|
|
Loading…
Reference in a new issue