You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to use your wrapper and got an error (solved it by myself, just for you to correct)
See this code:
if (internals.isWin) {
for (let i = 0; i < lines.length; ++i) {
if (/^\s+1/.test(lines[i])) {
break;
}
}
lines.splice(0,i);
lines.pop();
lines.pop();
}
"let i" scope is only in the for loop and cant be accessed in lines.splice. Exchange let with var solves the problem
Maybe lines.length instead of i would do it too i think
The text was updated successfully, but these errors were encountered:
I just tried to use your wrapper and got an error (solved it by myself, just for you to correct)
See this code:
"let i" scope is only in the for loop and cant be accessed in lines.splice. Exchange let with var solves the problem
Maybe lines.length instead of i would do it too i think
The text was updated successfully, but these errors were encountered: