filter: add a break statement
This commit is contained in:
parent
ae7d12ed30
commit
84b5d56cb6
@ -27,6 +27,7 @@ for await (const line of readLines(Deno.stdin)) {
|
||||
|
||||
if (msg.action === 'accept') {
|
||||
console.log(JSON.stringify(event));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user