Commit 10890aab authored by Isabella Skořepová's avatar Isabella Skořepová

Fix build (again)

parent 1f7f3a56
Pipeline #422 passed with stages
in 1 minute and 11 seconds
......@@ -12,9 +12,6 @@ var mkdirp = require('mkdirp');
var path = require('path');
module.exports = function(file, targetDir, width, height) {
return path.basename(file);
}
var rem = function(file, targetDir, width, height) {
if(lwip && (width || height)) {
let tmp = path.basename(file).split('.');
tmp.splice(-1,1);
......@@ -34,7 +31,7 @@ var rem = function(file, targetDir, width, height) {
.writeFile(targetFile, function(err) {
if(err) console.log(err);
});
}
})
}
if(err) return console.log(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment