protractor-fail-fast
Advanced tools
Comparing version 3.0.1 to 3.0.2
# Changelog | ||
## 3.0.2 | ||
##### Fixes | ||
* Catch error when attempting to remove already removed fail file. | ||
## 3.0.0/3.0.1 | ||
@@ -4,0 +8,0 @@ NOTE: `3.0.1` technically contains breaking changes with respect to `3.0.0`. |
@@ -69,4 +69,10 @@ 'use strict'; | ||
function deleteFailFile() { | ||
(0, _fs.unlinkSync)(FAIL_FILE); | ||
try { | ||
(0, _fs.unlinkSync)(FAIL_FILE); | ||
} catch (err) { | ||
if (err.code !== 'ENOENT') { | ||
throw err; | ||
} | ||
} | ||
} | ||
module.exports = exports['default']; |
{ | ||
"name": "protractor-fail-fast", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/protractor-fail-fast.js", |
Sorry, the diff of this file is not supported yet
116641
63