stream logs through standard input and new remote client cli command
parent
a485fb0315
commit
79ddbbd8b6
|
@ -4319,7 +4319,7 @@ class RemoteClient {
|
||||||
node_fs_1.default.appendFileSync(logFile, element);
|
node_fs_1.default.appendFileSync(logFile, element);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
process.stdin.on('end', function () {
|
process.stdin.on('end', () => {
|
||||||
node_fs_1.default.appendFileSync(logFile, lingeringLine);
|
node_fs_1.default.appendFileSync(logFile, lingeringLine);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -44,7 +44,7 @@ export class RemoteClient {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
process.stdin.on('end', function () {
|
process.stdin.on('end', () => {
|
||||||
fs.appendFileSync(logFile, lingeringLine);
|
fs.appendFileSync(logFile, lingeringLine);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue