Skip to content

Commit ababfb4

Browse files
Fix stream
1 parent b07acb5 commit ababfb4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

kernel/src/kernel.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ export class EmbeddedKernel extends BaseKernel {
4141

4242
outputResponse(msg: string): void {
4343
console.log("[Kernel] outputResponse - Streaming output:", msg);
44-
44+
4545
msg += '\n';
4646

47-
this.stream(){
47+
this.stream({
4848
name: 'stdout',
4949
text: msg,
50-
}
50+
})
5151
}
5252

5353
async executeRequest(
@@ -69,6 +69,7 @@ export class EmbeddedKernel extends BaseKernel {
6969
console.log("[Kernel] executeRequest - Processing code");
7070
const { code } = content;
7171

72+
7273
if (code.includes(reconnectString)) {
7374
// Reconnect the device or connect for the first time
7475
this.outputResponse("Reconnect command detected, reconnecting device...");

0 commit comments

Comments
 (0)