diff options
author | Sebastien Ahkrin <sebastien48criquet@gmail.com> | 2020-01-02 21:19:02 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-01-05 01:50:18 +0300 |
commit | c9b93e234454322ac0b7a6cd29d394f428f3e37d (patch) | |
tree | fc739fb9c295644e2857606f05dffbf4d3f8e992 /lib/internal/fs | |
parent | 256c9a43f4b20214b9fb5448c9fb228ff2624058 (diff) |
lib: replace use of Error with primordials
PR-URL: https://github.com/nodejs/node/pull/31163
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'lib/internal/fs')
-rw-r--r-- | lib/internal/fs/utils.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/internal/fs/utils.js b/lib/internal/fs/utils.js index f75e71a914c..bca8c618dab 100644 --- a/lib/internal/fs/utils.js +++ b/lib/internal/fs/utils.js @@ -4,6 +4,7 @@ const { ArrayIsArray, BigInt, DateNow, + Error, Number, NumberIsFinite, ObjectSetPrototypeOf, |