diff --git a/test/test-addon.js b/test/test-addon.js index c658960c0f..7d6c3392a6 100644 --- a/test/test-addon.js +++ b/test/test-addon.js @@ -106,7 +106,7 @@ test('build simple addon in path with non-ascii characters', function (t) { ] var proc = execFile(process.execPath, cmd, function (err, stdout, stderr) { try { - fs.unlink(testNodeDir) + fs.unlink(testNodeDir, () => {}) } catch (err) { t.error(err) }