diff options
Diffstat (limited to 'test/sequential')
-rw-r--r-- | test/sequential/test-fs-readfile-tostring-fail.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sequential/test-fs-readfile-tostring-fail.js b/test/sequential/test-fs-readfile-tostring-fail.js index 8dcab75e0f..da8f3930f6 100644 --- a/test/sequential/test-fs-readfile-tostring-fail.js +++ b/test/sequential/test-fs-readfile-tostring-fail.js @@ -50,7 +50,7 @@ stream.on('finish', common.mustCall(function() { function destroy() { try { fs.unlinkSync(file); - } catch (err) { + } catch { // it may not exist } } |