Use correct method "append" instead of extend (#43514)

This commit is contained in:
John W. Parent 2024-04-05 14:46:47 -04:00 committed by GitHub
parent c4094cf051
commit c468697b35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1947,9 +1947,9 @@ def reproduce_ci_job(url, work_dir, autostart, gpg_url, runtime):
entrypoint_script.append(["echo", f"Re-run install script using:\n\t{install_mechanism}"])
# Allow interactive
if IS_WINDOWS:
entrypoint_script.extend(["&", "($args -Join ' ')", "-NoExit"])
entrypoint_script.append(["&", "($args -Join ' ')", "-NoExit"])
else:
entrypoint_script.extend(["exec", "$@"])
entrypoint_script.append(["exec", "$@"])
process_command(
"entrypoint", entrypoint_script, work_dir, run=False, exit_on_failure=False