summaryrefslogtreecommitdiff
path: root/lib/internal/process/warning.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/internal/process/warning.js')
-rw-r--r--lib/internal/process/warning.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/process/warning.js b/lib/internal/process/warning.js
index 3ad3d4b9fb..67a553e21a 100644
--- a/lib/internal/process/warning.js
+++ b/lib/internal/process/warning.js
@@ -58,7 +58,7 @@ function onWarning(warning) {
if (isDeprecation && process.noDeprecation) return;
const trace = process.traceProcessWarnings ||
(isDeprecation && process.traceDeprecation);
- var msg = `(${process.release.name}:${process.pid}) `;
+ let msg = `(${process.release.name}:${process.pid}) `;
if (warning.code)
msg += `[${warning.code}] `;
if (trace && warning.stack) {