mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
Throw build_windows.ps1 if npm run build fails (#474)
* Try-Catch in powershell, intentionally break npm to test * Try If $LastExitCode Throw instead * Clean up error msg, remove known bug
This commit is contained in:
parent
7df1f9a265
commit
de5f646ccd
@ -75,6 +75,9 @@ Write-Output " ---"
|
||||
Write-Output "Electron package Windows Installer"
|
||||
Write-Output " ---"
|
||||
npm run build
|
||||
If ($LastExitCode -gt 0){
|
||||
Throw "npm run build failed!"
|
||||
}
|
||||
|
||||
Write-Output " ---"
|
||||
Write-Output "Increase the stack for chia command for (chia plots create) chiapos limitations"
|
||||
|
Loading…
Reference in New Issue
Block a user