From c77be76883afb56466e32565566bed8f045b44cb Mon Sep 17 00:00:00 2001 From: Uche Ozoemena Date: Sun, 9 Sep 2018 14:53:02 +0100 Subject: [PATCH] Fix fs.unlink() callback bug for nodejs v10 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 7b8ef05..b73e59d 100644 --- a/index.js +++ b/index.js @@ -42,7 +42,7 @@ function configJasmine(version) { * Removes the specRunner.html file **/ function cleanup(path) { - fs.unlink(path); + fs.unlinkSync(path); } function hasGlobalPhantom() {