add -Force to avoid error when redownloading

This commit is contained in:
Carrie Roberts
2020-07-02 17:37:28 -06:00
committed by GitHub
parent 5f4b9dba55
commit 4ed14355ed
+1 -1
View File
@@ -94,7 +94,7 @@ atomic_tests:
if (Test-Path #{exe_payload}) {exit 0} else {exit 1}
get_prereq_command: |
Invoke-WebRequest "#{url_path}" -OutFile "$env:temp\T1027.zip"
Expand-Archive -path "$env:temp\T1027.zip" -DestinationPath "$env:temp\temp_T1027.zip\"
Expand-Archive -path "$env:temp\T1027.zip" -DestinationPath "$env:temp\temp_T1027.zip\" -Force
executor:
command: |
"#{exe_payload}"