Remove lint warnings
This commit is contained in:
parent
fe0ec67623
commit
6ac0151e65
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,9 @@ Module._nodeModulePaths = function (from) {
|
|||
const paths = []
|
||||
const parts = from.split(splitRe)
|
||||
|
||||
for (let tip = i = parts.length - 1; i >= 0; tip = i += -1) {
|
||||
let tip
|
||||
let i
|
||||
for (tip = i = parts.length - 1; i >= 0; tip = i += -1) {
|
||||
const part = parts[tip]
|
||||
if (part === 'node_modules') {
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue