remote_runner: Use newline instead of backslash n

This commit is contained in:
Richard Hansen 2021-05-02 20:46:00 -04:00
parent 713e57b451
commit 68b041c4fb
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ const sauceTestWorker = async.queue(async (testSettings) => {
let logIndex = 0;
while (true) {
const consoleText = await browser.eval("$('#console').text()") || '';
consoleText.substring(logIndex).split('\\n').forEach((line) => log(line, pfx));
consoleText.substring(logIndex).split('\n').forEach((line) => log(line, pfx));
logIndex = consoleText.length;
const [finished, nFailedStr] = consoleText.match(finishedRegex) || [];
if (finished) {