Skip to content

Commit 103de0e

Browse files
mscdexjasnell
authored andcommittedJun 7, 2017
process: fix permanent deopt
PR-URL: #13384 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
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)
Please sign in to comment.