diff options
author | Evan Lucas <evanlucas@me.com> | 2020-06-08 18:05:45 +0300 |
---|---|---|
committer | Evan Lucas <evanlucas@me.com> | 2020-06-23 19:33:12 +0300 |
commit | f6dbba82bd9648d5df3721905fc952c896cb3449 (patch) | |
tree | 3b3196ce0e0c05c4b5a58e4e6fffe671d30233ec /lib/internal/main | |
parent | 680d7a04e7c6ee985ae0127d6883a1d68ff9e5e1 (diff) |
internal: rename error-serdes for consistency
All other JavaScript files in lib use snake case, so make this
one consistent.
PR-URL: https://github.com/nodejs/node/pull/33793
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'lib/internal/main')
-rw-r--r-- | lib/internal/main/worker_thread.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/main/worker_thread.js b/lib/internal/main/worker_thread.js index 61045cf1c08..e2843294261 100644 --- a/lib/internal/main/worker_thread.js +++ b/lib/internal/main/worker_thread.js @@ -198,7 +198,7 @@ function workerOnGlobalUncaughtException(error, fromPromise) { let serialized; try { - const { serializeError } = require('internal/error-serdes'); + const { serializeError } = require('internal/error_serdes'); serialized = serializeError(error); } catch {} debug(`[${threadId}] uncaught exception serialized = ${!!serialized}`); |