Skip to content

Commit

Permalink
Use arrow function.
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and phillipj committed Nov 18, 2019
1 parent 3ba2071 commit a8cca32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function paginate (filePath, collection, fileName, files, iteratee) {
});
}

module.exports = function(opts) {
module.exports = (opts) => {
const options = {iteratee: identity, ...opts};

return (files, metalsmith, done) => {
Expand Down

0 comments on commit a8cca32

Please sign in to comment.