File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments