fix could not send non-service .js or .txt files

This commit is contained in:
zefie
2024-05-06 10:09:25 -04:00
parent 4557aaecb1
commit 11b028dac2

View File

@@ -945,11 +945,11 @@ class WTVShared {
});
lineReader.on('line', (line) => {
lineCount++;
if (lineCount === lineNo) {
lineReader.close();
callback(null, line);
}
lineCount++;
});
lineReader.on('close', () => {