Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Merge branch 'fix/error-loading' of https://github.com/TheSavior/pngj…
Browse files Browse the repository at this point in the history
…s-image into fix/error-loading

Conflicts:
	index.js
  • Loading branch information
TheSavior committed Mar 16, 2015
2 parents df2348f + 743e88f commit 7cd6f79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ PNGImage.readImage = function (filename, fn) {
}).once('error', function (err) {
image.removeListener('parsed', fn);
fn(err, resultImage);
}).pipe(image);
});

return resultImage;
};
Expand Down

0 comments on commit 7cd6f79

Please sign in to comment.