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) {
5858 if ( isDeprecation && process . noDeprecation ) return ;
5959 const trace = process . traceProcessWarnings ||
6060 ( isDeprecation && process . traceDeprecation ) ;
61- var msg = `(${ process . release . name } :${ process . pid } ) ` ;
61+ let msg = `(${ process . release . name } :${ process . pid } ) ` ;
6262 if ( warning . code )
6363 msg += `[${ warning . code } ] ` ;
6464 if ( trace && warning . stack ) {
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ function emitExperimentalWarning(feature) {
175175
176176function filterDuplicateStrings ( items , low ) {
177177 const map = new Map ( ) ;
178- for ( var i = 0 ; i < items . length ; i ++ ) {
178+ for ( let i = 0 ; i < items . length ; i ++ ) {
179179 const item = items [ i ] ;
180180 const key = item . toLowerCase ( ) ;
181181 if ( low ) {
@@ -290,7 +290,7 @@ function promisify(original) {
290290 }
291291 if ( argumentNames !== undefined && values . length > 1 ) {
292292 const obj = { } ;
293- for ( var i = 0 ; i < argumentNames . length ; i ++ )
293+ for ( let i = 0 ; i < argumentNames . length ; i ++ )
294294 obj [ argumentNames [ i ] ] = values [ i ] ;
295295 resolve ( obj ) ;
296296 } else {
You can’t perform that action at this time.
0 commit comments