mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Merge pull request #4242 from overleaf/ho-paypal-script-exit-code
exit with non zero code when no invoicess were processed GitOrigin-RevId: df449964fc830f689d972d9ad3ed6b352c1b7c5c
This commit is contained in:
parent
9820b787a7
commit
e6b805b885
1 changed files with 6 additions and 1 deletions
|
@ -93,5 +93,10 @@ attemptInvoicesCollection(error => {
|
|||
},
|
||||
{ maxArrayLength: null }
|
||||
)
|
||||
process.exit()
|
||||
|
||||
if (INVOICES_COLLECTED_SUCCESS === 0) {
|
||||
process.exit(1)
|
||||
} else {
|
||||
process.exit()
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue