From d4d7ee32819013949e5b1a95f5179cd8a7f9fb77 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Mon, 28 Aug 2023 00:47:52 +0200 Subject: [PATCH] fix indent --- util.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/util.js b/util.js index 8cc91e9..0b2dcbe 100644 --- a/util.js +++ b/util.js @@ -108,11 +108,11 @@ export const notify = (html) => new Promise((resolve, reject) => { const title = cfg.notify_title ? `-t ${cfg.notify_title}` : ''; exec(`apprise ${cfg.notify} -i html '${title}' -b '${html}'`, (error, stdout, stderr) => { if (error) { - console.log(`error: ${error.message}`); - if (error.message.includes('command not found')) { - console.info('Run `pip install apprise`. See https://github.com/vogler/free-games-claimer#notifications'); - } - return resolve(); + console.log(`error: ${error.message}`); + if (error.message.includes('command not found')) { + console.info('Run `pip install apprise`. See https://github.com/vogler/free-games-claimer#notifications'); + } + return resolve(); } if (stderr) console.error(`stderr: ${stderr}`); if (stdout) console.log(`stdout: ${stdout}`);