From a710fc38abf9db67169d5cb77aaecb24af5bb7bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C4=ABss=20J=C4=81nis=20=C4=80bolti=C5=86=C5=A1?= Date: Fri, 11 May 2018 11:53:35 +0300 Subject: [PATCH] Remove ES6 arrow function shorthand --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 91c79af..5889cfc 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const md5Hex = require('md5-hex'); const BASE_URL = 'https://gravatar.com/avatar/'; -module.exports = (email, opts) => { +module.exports = function (email, opts) { if (email.indexOf('@') === -1) { throw new Error('Please specify an email'); }