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 592e7d0 commit ee21d6eCopy full SHA for ee21d6e
PhpManager/private/Expand-ArchiveWith7Zip.ps1
@@ -59,6 +59,12 @@
59
throw "7-Zip executable not found at $sevenZipPath"
60
}
61
$sevenZipResult = & $sevenZipPath $sevenZipArguments
62
+ if ($null -eq $LASTEXITCODE) {
63
+ if ($sevenZipResult) {
64
+ throw "Extraction with 7-zip didn't set LASTEXITCODE; its output is $sevenZipResult"
65
+ }
66
+ throw "Extraction with 7-zip didn't set LASTEXITCODE"
67
68
if ($LASTEXITCODE -ne 0) {
69
if ($createdHere) {
70
try {
0 commit comments