Skip to content

Commit 4c0be2b

Browse files
fix: Explicitly setting lastExitCode ( Fixes PoshWeb#21 )
1 parent 539c28f commit 4c0be2b

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

build.ps1

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,15 +223,20 @@ foreach ($buildTime in $buildTimes) {
223223
Add-Member NoteProperty -InputObject $buildTime -Name Time "$($buildTime.Time)" -Force
224224
}
225225

226+
<#
226227
$history = @(try {
227228
Invoke-RestMethod -Uri $BuildTimeHistoryUrl -ErrorAction Ignore
228229
} catch {}) -ne $null
229230
230231
$history += $buildTimes |
231232
Select-Object Technique, Time, RelativeSpeed, DateTime
232233
233-
ConvertTo-Json -InputObject $history > ./history.json -Depth 2
234+
ConvertTo-Json -InputObject $history > ./history.json -Depth 4
235+
#>
234236

235237
Remove-Item -Recurse -Force ./astrodev
236238

237-
Pop-Location
239+
Pop-Location
240+
241+
$LASTEXITCODE = 0
242+

0 commit comments

Comments
 (0)