mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 15:25:07 +01:00
Remove use of deprecated functions from test code
This commit is contained in:
@@ -14,6 +14,7 @@ let versions = {
|
||||
(function () {
|
||||
// Does libvips meet minimum requirement?
|
||||
const libvipsVersionMin = require('../package.json').config.libvips;
|
||||
/* istanbul ignore if */
|
||||
if (semver.lt(versions.vips, libvipsVersionMin)) {
|
||||
throw new Error('Found libvips ' + versions.vips + ' but require at least ' + libvipsVersionMin);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user