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 @@ -41,7 +41,7 @@ const os = {
4141 // Filter out vdso and vsyscall entries.
4242 const arg = args [ args . length - 1 ] ;
4343 if ( arg === '[vdso]' ||
44- arg == '[vsyscall]' ||
44+ arg === '[vsyscall]' ||
4545 / ^ [ 0 - 9 a - f ] + - [ 0 - 9 a - f ] + $ / . test ( arg ) ) {
4646 return '' ;
4747 }
Original file line number Diff line number Diff line change @@ -342,7 +342,7 @@ const encode = function(input) {
342342 if ( currentValue < n && ++ delta > maxInt ) {
343343 error ( 'overflow' ) ;
344344 }
345- if ( currentValue == n ) {
345+ if ( currentValue === n ) {
346346 // Represent delta as a generalized variable-length integer.
347347 let q = delta ;
348348 for ( let k = base ; /* no condition */ ; k += base ) {
@@ -359,7 +359,7 @@ const encode = function(input) {
359359 }
360360
361361 output . push ( stringFromCharCode ( digitToBasic ( q , 0 ) ) ) ;
362- bias = adapt ( delta , handledCPCountPlusOne , handledCPCount == basicLength ) ;
362+ bias = adapt ( delta , handledCPCountPlusOne , handledCPCount === basicLength ) ;
363363 delta = 0 ;
364364 ++ handledCPCount ;
365365 }
You can’t perform that action at this time.
0 commit comments