mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 13:46:19 +01:00
Merge pull request #361 from jardakotesovec/clone-clean-up
Remove left over, non-functional code from clone feature.
This commit is contained in:
1
index.js
1
index.js
@@ -884,7 +884,6 @@ Sharp.prototype.clone = function() {
|
||||
// Clone existing options
|
||||
var clone = new Sharp();
|
||||
util._extend(clone.options, this.options);
|
||||
clone.streamIn = false;
|
||||
// Pass 'finish' event to clone for Stream-based input
|
||||
this.on('finish', function() {
|
||||
// Clone inherits input data
|
||||
|
||||
Reference in New Issue
Block a user