push.sh: nicely exit if nothing to push

This commit is contained in:
Julien Bisconti
2018-07-20 20:10:58 +02:00
parent 4dbd42903b
commit e51c514419
4 changed files with 10 additions and 35453 deletions

View File

@@ -131,7 +131,7 @@ async function main() {
LOG.debug('Checking if updating is needed');
if (!shouldUpdate(lastUpdateTime)) {
LOG.debug('Last update was less than a day ago 😅. Exiting...');
process.exit(1);
process.exit();
}
const markdown = await fs.readFile(README, 'utf8');