File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ function onWarning(warning) {
58
58
if ( isDeprecation && process . noDeprecation ) return ;
59
59
const trace = process . traceProcessWarnings ||
60
60
( isDeprecation && process . traceDeprecation ) ;
61
- var msg = `(${ process . release . name } :${ process . pid } ) ` ;
61
+ let msg = `(${ process . release . name } :${ process . pid } ) ` ;
62
62
if ( warning . code )
63
63
msg += `[${ warning . code } ] ` ;
64
64
if ( trace && warning . stack ) {
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ function emitExperimentalWarning(feature) {
166
166
167
167
function filterDuplicateStrings ( items , low ) {
168
168
const map = new Map ( ) ;
169
- for ( var i = 0 ; i < items . length ; i ++ ) {
169
+ for ( let i = 0 ; i < items . length ; i ++ ) {
170
170
const item = items [ i ] ;
171
171
const key = item . toLowerCase ( ) ;
172
172
if ( low ) {
@@ -281,7 +281,7 @@ function promisify(original) {
281
281
}
282
282
if ( argumentNames !== undefined && values . length > 1 ) {
283
283
const obj = { } ;
284
- for ( var i = 0 ; i < argumentNames . length ; i ++ )
284
+ for ( let i = 0 ; i < argumentNames . length ; i ++ )
285
285
obj [ argumentNames [ i ] ] = values [ i ] ;
286
286
resolve ( obj ) ;
287
287
} else {
You can’t perform that action at this time.
0 commit comments