From 6f59f464d780889cad119c7a44e0561f5c4d2845 Mon Sep 17 00:00:00 2001 From: moaipool Date: Mon, 11 Apr 2022 16:26:39 +0200 Subject: [PATCH] Update project url, process.exit() --- raffle.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/raffle.js b/raffle.js index b6fe980..152951a 100755 --- a/raffle.js +++ b/raffle.js @@ -6,7 +6,7 @@ * Useful for Cardano stake pool giveaways, raffles and so on. * * @author Will[MOAI] - * @url https://github.com/moaipool/stakepool-raffle + * @url https://github.com/moaipool/delegator-raffle * @version 1.0 * @license MIT License (MIT) */ @@ -131,9 +131,11 @@ async function run() { console.log('no valid stake addresses found') console.info('discarded', discard); } + process.exit(0); } catch (err) { console.log('error occurred:', err); + process.exit(1); } }