From 1f7f3a56d2f0a30968c063f96e4dcd1fea6f84c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Sko=C5=99epa?= <jakub@skorepa.info> Date: Mon, 7 Nov 2016 21:28:54 +0100 Subject: [PATCH] Fix build --- sitegin/imageResizer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sitegin/imageResizer.js b/sitegin/imageResizer.js index 0fff936..47a473a 100644 --- a/sitegin/imageResizer.js +++ b/sitegin/imageResizer.js @@ -14,7 +14,7 @@ var path = require('path'); module.exports = function(file, targetDir, width, height) { return path.basename(file); } -function(file, targetDir, width, height) { +var rem = function(file, targetDir, width, height) { if(lwip && (width || height)) { let tmp = path.basename(file).split('.'); tmp.splice(-1,1); -- GitLab