Files have an extra newline character at the end
acbart opened this issue · comments
Line 53 in 3c8167f
I'm pretty sure this isn't the correct line - the last line of files will not have a newline character. Instead, the proper code should be:
for (let i=0; i < this.lineList.length-1; i+= 1) {
this.lineList[i] = this.lineList[i] + "\n";
}
Sorry it's not a PR, but I'm short on time as ever...