Skip to content

Commit

Permalink
Renamed a var for consistence with the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Sep 11, 2014
1 parent 2429db1 commit 00477ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/processImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ module.exports = function (options) {
}

if (contentType && contentType.indexOf('image/') === 0) {
var filtersAndTargetFormat = getFilterInfosAndTargetContentTypeFromQueryString(queryString, options.root, options.root && Path.resolve(options.root, req.url.substr(1))),
targetContentType = filtersAndTargetFormat.targetContentType;
if (filtersAndTargetFormat.filterInfos.length === 0) {
var filterInfosAndTargetFormat = getFilterInfosAndTargetContentTypeFromQueryString(queryString, options.root, options.root && Path.resolve(options.root, req.url.substr(1))),
targetContentType = filterInfosAndTargetFormat.targetContentType;
if (filterInfosAndTargetFormat.filterInfos.length === 0) {
return res.unhijack(true);
}
if (targetContentType) {
Expand All @@ -66,7 +66,7 @@ module.exports = function (options) {
}
}

var filters = filtersAndTargetFormat.filterInfos.map(function (filterInfo) {
var filters = filterInfosAndTargetFormat.filterInfos.map(function (filterInfo) {
return filterInfo.create();
});

Expand Down

0 comments on commit 00477ff

Please sign in to comment.