We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7edaa1f commit d310320Copy full SHA for d310320
tests/ci_runner.py
@@ -183,7 +183,7 @@ def patch_file(file_name: str) -> None:
183
# when invoking a subprocess, bash stores the location where
184
# it's supposed to continue parsing from, so it's a good idea
185
# to to not move things around
186
- line = line.rstrip('\n').replace(OLD_REPO, NEW_REPO) + ' \n'
+ line = line.replace(OLD_REPO, NEW_REPO)[:-1] + ' \n'
187
outf.write(line)
188
os.chmod(file_name + '._new_', os.stat(file_name).st_mode)
189
os.rename(file_name + '._new_', file_name)
0 commit comments