Skip to content

Commit

Permalink
hash based on command to be run instead of assuming resize. duhhhhh
Browse files Browse the repository at this point in the history
  • Loading branch information
mpd committed Sep 7, 2012
1 parent 5bfdb24 commit bdbef91
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/image-magick.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,7 @@ ImageMagick.prototype._convert = function(_command, params, callback) {

srcTmpPath = this._createTmpPath(source)

pathHashString = source + ':' + size

if(params.crop)
pathHashString += ':' + params.crop
pathHashString = source + ':' + _command

destTmpPath = this._createTmpPath(pathHashString)

Expand Down

0 comments on commit bdbef91

Please sign in to comment.