Commit f17e9a49 authored by Cory Bryant's avatar Cory Bryant

Fix misnamed variable

parent a4349b83
Pipeline #5239 passed with stage
in 44 seconds
......@@ -209,7 +209,10 @@ module.exports = function (options, plugins) {
function checkRenditionBacking() {
if (renditionsBacking) {
fs.mkdirSync(imageRootPathOnDisk, { recursive: true });
if (downloadExistingRendition) {
fs.mkdirSync(imageRootPathOnDisk, { recursive: true });
}
renditionsBacking.checkForRendition(renditionBackingConfig, (err, lastModifiedTime, data) => {
if (err || !data) {
generateRendition();
......@@ -331,7 +334,7 @@ module.exports = function (options, plugins) {
}
if (renditionsBacking) {
renditionsBacking.uploadRendition(renditionsBackingConfig, rendition);
renditionsBacking.uploadRendition(renditionBackingConfig, rendition);
}
};
......
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