mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Upgrade semistandard, appease new linter rules
This commit is contained in:
@@ -1370,7 +1370,7 @@ function _pipeline (callback) {
|
||||
reject(err);
|
||||
} else {
|
||||
if (this.options.resolveWithObject) {
|
||||
resolve({ data: data, info: info });
|
||||
resolve({ data, info });
|
||||
} else {
|
||||
resolve(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user