Skip to content

Commit ed7fb47

Browse files
authored
Merge pull request #307 from ExaWorks/fix_for_old_git
2 parents b753b42 + 93d7035 commit ed7fb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ci_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def patch_repo() -> None:
196196

197197

198198
def update_origin() -> None:
199-
old_url = run('git', 'remote', 'get-url', 'origin')
199+
old_url = run('git', 'config', '--get', 'remote.origin.url')
200200
new_url = old_url.strip().replace(OLD_REPO, NEW_REPO)
201201
if new_url != old_url:
202202
with info('Updating git url to %s' % new_url):

0 commit comments

Comments
 (0)