We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b0cc073 commit fa3fefbCopy full SHA for fa3fefb
build/scripts/run-tests.js
@@ -93,7 +93,7 @@ testrun.stdout.on('data', function(chunks) {
93
94
chunks = leftover + chunks;
95
chunks = chunks.replace(/\(lldb\)\s/g, '');
96
- var lines = chunks.split('\n');
+ var lines = chunks.split(/\r?\n/);
97
for(var i = 0; i < lines.length - 1; i++) {
98
var line = lines[i];
99
@@ -106,7 +106,8 @@ testrun.stdout.on('data', function(chunks) {
106
// if line.indexOf('App Start') reset the timeout function
107
var index = line.indexOf(term);
108
if (index <= 0) {
109
- process.stdout.write(line + '\n');
+ if (line)
110
+ process.stdout.write(line + '\n');
111
} else {
112
if (line.indexOf("CONSOLE LOG") !== 0) {
113
// Each line is logged by the debugger twice (to console and to logs)
0 commit comments