Skip to content

Commit 103de0e

Browse files
mscdexjasnell
authored andcommitted
process: fix permanent deopt
PR-URL: #13384 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Refael Ackermann <[email protected]>
1 parent a666238 commit 103de0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/process/warning.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ function setupProcessWarnings() {
9090
if (isDeprecation && process.noDeprecation) return;
9191
const trace = process.traceProcessWarnings ||
9292
(isDeprecation && process.traceDeprecation);
93-
let msg = `${prefix}`;
93+
var msg = `${prefix}`;
9494
if (warning.code)
9595
msg += `[${warning.code}] `;
9696
if (trace && warning.stack) {

0 commit comments

Comments
 (0)