also splice filenames_checked so they are symmetrical
This commit is contained in:
parent
7346a2d379
commit
24247b7cc5
1 changed files with 1 additions and 0 deletions
1
index.js
1
index.js
|
@ -80,6 +80,7 @@ function diff(current, checked) {
|
||||||
result += `${split[0]} download\n`;
|
result += `${split[0]} download\n`;
|
||||||
}
|
}
|
||||||
console.log(`popping line ${index}, current: ${lines_checked}`);
|
console.log(`popping line ${index}, current: ${lines_checked}`);
|
||||||
|
filenames_checked.splice(index, 1);
|
||||||
lines_checked.splice(index, 1);
|
lines_checked.splice(index, 1);
|
||||||
console.log(`result: ${lines_checked}`);
|
console.log(`result: ${lines_checked}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue