diff options
Diffstat (limited to 'test/parallel/test-fs-realpath-pipe.js')
-rw-r--r-- | test/parallel/test-fs-realpath-pipe.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-fs-realpath-pipe.js b/test/parallel/test-fs-realpath-pipe.js index 55010cf78b..7104e93ff1 100644 --- a/test/parallel/test-fs-realpath-pipe.js +++ b/test/parallel/test-fs-realpath-pipe.js @@ -22,7 +22,7 @@ for (const code of [ if (require('fs').realpathSync('/dev/stdin')) { process.exit(2); } - } catch (e) { + } catch { process.exit(1); }` ]) { |