Skip to content

Commit

Permalink
Update project url, process.exit()
Browse files Browse the repository at this point in the history
  • Loading branch information
moaipool committed Apr 11, 2022
1 parent a7f8145 commit 6f59f46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion raffle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
*/
Expand Down Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 6f59f46

Please sign in to comment.