mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
process: fix permanent deopt
PR-URL: https://github.com/nodejs/node/pull/13384 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
This commit is contained in:
1 file changed
+1
-1
@@ -90,7 +90,7 @@ function setupProcessWarnings() {
|
||||
if (isDeprecation && process.noDeprecation) return;
|
||||
const trace = process.traceProcessWarnings ||
|
||||
(isDeprecation && process.traceDeprecation);
|
||||
let msg = `${prefix}`;
|
||||
var msg = `${prefix}`;
|
||||
if (warning.code)
|
||||
msg += `[${warning.code}] `;
|
||||
if (trace && warning.stack) {
|
||||
|
||||
Reference in new issue
Block a user