diff --git a/tasks/jasmine.js b/tasks/jasmine.js index c1e7c97..03bb83a 100644 --- a/tasks/jasmine.js +++ b/tasks/jasmine.js @@ -153,7 +153,7 @@ module.exports = function(grunt) { removePhantomListeners(); if (!options.keepRunner && fs.statSync(options.outfile).isFile()) { - fs.unlink(options.outfile); + fs.unlinkSync(options.outfile); } if (!options.keepRunner) {