mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 18:40:16 +02:00
Test: correct coverage syntax
This commit is contained in:
parent
6c2e6c5432
commit
e418d91511
@ -23,7 +23,7 @@ const mkdirSync = function (dirPath) {
|
|||||||
try {
|
try {
|
||||||
fs.mkdirSync(dirPath, { recursive: true });
|
fs.mkdirSync(dirPath, { recursive: true });
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
/* istanbul ignore if */
|
/* istanbul ignore next */
|
||||||
if (err.code !== 'EEXIST') {
|
if (err.code !== 'EEXIST') {
|
||||||
throw err;
|
throw err;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user