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 344c408 commit 592e7d0Copy full SHA for 592e7d0
1 file changed
PhpManager/private/Expand-ArchiveWith7Zip.ps1
@@ -55,6 +55,9 @@
55
}
56
$sevenZipArguments += $ArchivePath
57
$sevenZipPath = [System.IO.Path]::Combine($PSScriptRoot, 'bin', "7za-$sevenZipArchitecture.exe")
58
+ If (-Not(Test-Path -LiteralPath $sevenZipPath -PathType Leaf)) {
59
+ throw "7-Zip executable not found at $sevenZipPath"
60
+ }
61
$sevenZipResult = & $sevenZipPath $sevenZipArguments
62
if ($LASTEXITCODE -ne 0) {
63
if ($createdHere) {
0 commit comments