Skip to content

Commit

Permalink
fix(eslint): resolve no-mixed-operators errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans Kristian Flaatten committed Aug 19, 2016
1 parent c0c53aa commit d2ad152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ Image.prototype.uploadVersions = function uploadVersions(results, cb) {

Image.prototype.removeVersions = function removeVersions(results, cb) {
each(results.uploads, (image, callback) => {
if (!this.upload.opts.cleanup.original && image.original ||
!this.upload.opts.cleanup.versions && !image.original
if ((!this.upload.opts.cleanup.original && image.original) ||
(!this.upload.opts.cleanup.versions && !image.original)
) {
return setTimeout(callback, 0);
}
Expand Down

0 comments on commit d2ad152

Please sign in to comment.