We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2e62f8 commit 3c8590aCopy full SHA for 3c8590a
lib/uploadhandler.js
@@ -108,7 +108,7 @@ module.exports = function (options) {
108
counter--;
109
return;
110
}
111
-
+
112
var generatePreviews = function () {
113
if (options.imageTypes.test(fileInfo.name)) {
114
_.each(options.imageVersions, function (value, version) {
@@ -127,7 +127,7 @@ module.exports = function (options) {
127
});
128
129
130
131
mkdirp(options.uploadDir() + '/', function(err, made) {
132
fs.rename(file.path, options.uploadDir() + '/' + fileInfo.name, function (err) {
133
if (!err) {
0 commit comments