Skip to content

Commit

Permalink
Update customize.py
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunsuresh authored Jan 10, 2025
1 parent 5240e27 commit b7ee2c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def preprocess(i):
p = parse(repo)
if env.get('CM_GITHUB_PAT', '') != '':
token = env['CM_GITHUB_PAT']
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://git:{token}@{p.host}/{p.owner}/{p.repo}"""
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://{token}@{p.host}/{p.owner}/{p.repo}"""

return {'return': 0}

Expand Down

0 comments on commit b7ee2c2

Please sign in to comment.