Skip to content

Commit 48e1964

Browse files
committed
2025-12-19 03:59:41
1 parent 818c1e8 commit 48e1964

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/pwsh.install.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function Install-App {
6666
Import-Job -Path "$($_.path)\$($_.name)" -Name "${NAME}" -Description "${DESC}"
6767
})
6868
} catch {
69-
$StatusCode = $_.Exception.Response.StatusCode.value__
69+
$StatusCode = $_.Exception.Response.StatusCode.Value__
7070
$StatusCode -eq '404' ? (Write-Warning "'meta.json' not found!") : (Write-Error "An error occurred: ${_}")
7171
}
7272
}

docs/pwsh.install.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function Install-App {
6666
Import-Job -Path "$($_.path)\$($_.name)" -Name "${NAME}" -Description "${DESC}"
6767
})
6868
} catch {
69-
$StatusCode = $_.Exception.Response.StatusCode.value__
69+
$StatusCode = $_.Exception.Response.StatusCode.Value__
7070
$StatusCode -eq '404' ? (Write-Warning "'meta.json' not found!") : (Write-Error "An error occurred: ${_}")
7171
}
7272
}

0 commit comments

Comments
 (0)