mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Replace deprecated URL parser
Fix up various linter errors
This commit is contained in:
@@ -53,7 +53,8 @@ describe('Raw pixel data', function () {
|
||||
width: info.width,
|
||||
height: info.height,
|
||||
channels: info.channels
|
||||
} })
|
||||
}
|
||||
})
|
||||
.jpeg()
|
||||
.toBuffer(function (err, data, info) {
|
||||
if (err) throw err;
|
||||
@@ -81,7 +82,8 @@ describe('Raw pixel data', function () {
|
||||
width: info.width,
|
||||
height: info.height,
|
||||
channels: info.channels
|
||||
} })
|
||||
}
|
||||
})
|
||||
.png()
|
||||
.toBuffer(function (err, data, info) {
|
||||
if (err) throw err;
|
||||
|
||||
Reference in New Issue
Block a user