Merge pull request #9758 from timvandermeij/unlink

Use `fs.unlinkSync` instead of `fs.unlink` when removing `eq.log`
This commit is contained in:
Tim van der Meij 2018-05-28 23:52:47 +02:00 committed by GitHub
commit 7cd6c0fbf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ function startRefTest(masterMode, showRefImages) {
}
if (fs.existsSync(eqLog)) {
fs.unlink(eqLog);
fs.unlinkSync(eqLog);
}
if (fs.existsSync(testResultDir)) {
testUtils.removeDirSync(testResultDir);