Skip to content

Commit

Permalink
Removed arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
mde committed Aug 17, 2020
1 parent 4317967 commit 4c5e560
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,5 @@ exports.cache = {
* @private
*/
exports.hyphenToCamel = function (str) {
return str.replace(/-[a-z]/g, (match) => { return match[1].toUpperCase(); });
return str.replace(/-[a-z]/g, function (match) { return match[1].toUpperCase(); });
};

0 comments on commit 4c5e560

Please sign in to comment.