diff options
author | Markus Hatvan <markus_hatvan@aon.at> | 2021-10-05 17:04:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-05 17:04:09 +0200 |
commit | d3841b766f9d37d557646003899f67525c5f755f (patch) | |
tree | 1bcab990c94f2b05678b7a83ffebe08298500f0b /recipes/mattermost/index.js | |
parent | chore: repo maintenance (#732) (diff) | |
download | ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.gz ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.tar.zst ferdium-recipes-d3841b766f9d37d557646003899f67525c5f755f.zip |
chore: add eslint-plugin-unicorn (#733)
Diffstat (limited to 'recipes/mattermost/index.js')
-rw-r--r-- | recipes/mattermost/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes/mattermost/index.js b/recipes/mattermost/index.js index 290cdbc..3a9a791 100644 --- a/recipes/mattermost/index.js +++ b/recipes/mattermost/index.js | |||
@@ -8,8 +8,8 @@ module.exports = Ferdi => class Mattermost extends Ferdi { | |||
8 | }, | 8 | }, |
9 | }); | 9 | }); |
10 | return resp.status.toString().startsWith('2'); | 10 | return resp.status.toString().startsWith('2'); |
11 | } catch (err) { | 11 | } catch (error) { |
12 | console.error(err); | 12 | console.error(error); |
13 | } | 13 | } |
14 | 14 | ||
15 | return false; | 15 | return false; |