Skip to content

Commit d2bcd55

Browse files
danbevtargos
authored andcommitted
lib: remove unnecessary string interpolation
PR-URL: #20890 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Jackson Tian <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]>
1 parent ba30d14 commit d2bcd55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/internal/process/warning.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function setupProcessWarnings(){
8383
if(isDeprecation&&process.noDeprecation)return;
8484
consttrace=process.traceProcessWarnings||
8585
(isDeprecation&&process.traceDeprecation);
86-
varmsg=`${prefix}`;
86+
varmsg=prefix;
8787
if(warning.code)
8888
msg+=`[${warning.code}] `;
8989
if(trace&&warning.stack){

0 commit comments

Comments
(0)