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 11, 2025
1 parent d912390 commit b160e17
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def preprocess(i):
if env.get('CM_GITHUB_PAT', '') != '':
token = env['CM_GITHUB_PAT']
if token == "PAT":
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://$\\{PAT\\}@{p.host}/{p.owner}/{p.repo}"""
env['CM_SET_REMOTE_URL_CMD'] = r"""git remote set-url origin https://${PAT}"""+f"""@{p.host}/{p.owner}/{p.repo}"""
else:
env['CM_SET_REMOTE_URL_CMD'] = f"""git remote set-url origin https://{token}@{p.host}/{p.owner}/{p.repo}"""

Expand Down

0 comments on commit b160e17

Please sign in to comment.