File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 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 @@ -175,7 +175,7 @@ function emitExperimentalWarning(feature) {
175
175
176
176
function filterDuplicateStrings ( items , low ) {
177
177
const map = new Map ( ) ;
178
- for ( var i = 0 ; i < items . length ; i ++ ) {
178
+ for ( let i = 0 ; i < items . length ; i ++ ) {
179
179
const item = items [ i ] ;
180
180
const key = item . toLowerCase ( ) ;
181
181
if ( low ) {
@@ -290,7 +290,7 @@ function promisify(original) {
290
290
}
291
291
if ( argumentNames !== undefined && values . length > 1 ) {
292
292
const obj = { } ;
293
- for ( var i = 0 ; i < argumentNames . length ; i ++ )
293
+ for ( let i = 0 ; i < argumentNames . length ; i ++ )
294
294
obj [ argumentNames [ i ] ] = values [ i ] ;
295
295
resolve ( obj ) ;
296
296
} else {
You can’t perform that action at this time.
0 commit comments