mirror of
https://github.com/lovell/sharp.git
synced 2025-07-14 04:40:13 +02:00
Merge pull request #361 from jardakotesovec/clone-clean-up
Remove left over, non-functional code from clone feature.
This commit is contained in:
commit
62e04f7784
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user