NULL coalesce on CMC script exit (#1346)

This commit is contained in:
D. Robin 2020-02-28 20:39:08 +01:00 committed by GitHub
parent 115e98cfd0
commit 31f08487b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -298,7 +298,7 @@ async function fetchImage(url: string) {
function exit(code?: number) {
printContracts()
process.exit(1)
process.exit(code ?? 1)
}
function getTotalActiveCryptocurrencies() {