From a8cca321f340df717bb2454b543a95f6f1951f04 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Sat, 16 Nov 2019 10:02:39 +0200 Subject: [PATCH] Use arrow function. --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7c8a3e2..c3b0277 100644 --- a/index.js +++ b/index.js @@ -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) => {