mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Exit with non-zero exit code upon failure (#8901)
The `static-server` script now exits with a code of `1` upon failure. Previously it would print the error to the console but exit with a code of `0`, indicating success.
This commit is contained in:
parent
af1f6a1af4
commit
b10986ddaa
@ -89,4 +89,7 @@ const main = async () => {
|
||||
}
|
||||
|
||||
main()
|
||||
.catch(console.error)
|
||||
.catch((error) => {
|
||||
console.error(error)
|
||||
process.exit(1)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user