Skip to content

Commit

Permalink
Use normal function instead of arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenmoya committed Aug 23, 2017
1 parent 0d5a99e commit 7e40d23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/prepublish.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ const UNNECESSARY_KEYS = [
'eslintConfig'
];

UNNECESSARY_KEYS.forEach(key => delete pkg[key]);
UNNECESSARY_KEYS.forEach(function (key) {
delete pkg[key];
});

pkg.scripts = {
donate: pkg.scripts.donate,
Expand Down

0 comments on commit 7e40d23

Please sign in to comment.