From d3841b766f9d37d557646003899f67525c5f755f Mon Sep 17 00:00:00 2001 From: Markus Hatvan Date: Tue, 5 Oct 2021 17:04:09 +0200 Subject: chore: add eslint-plugin-unicorn (#733) --- recipes/rocketchat/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/rocketchat/index.js') diff --git a/recipes/rocketchat/index.js b/recipes/rocketchat/index.js index 062b5ec..97de4fe 100644 --- a/recipes/rocketchat/index.js +++ b/recipes/rocketchat/index.js @@ -9,8 +9,8 @@ module.exports = Ferdi => class RocketChat extends Ferdi { }); const status = resp.status.toString(); return status.startsWith('2') || status.startsWith('3'); - } catch (err) { - console.error(err); + } catch (error) { + console.error(error); } return false; -- cgit v1.2.3-70-g09d2