diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:15:21 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:15:21 -0400 |
| commit | 2da9893da33f05fd9122b6052c67eabcd570b0d5 (patch) | |
| tree | fb9fcd9ea13aae2f6c29b2e8ae20a6472c7fc9c0 /main.ts | |
| parent | 7828d7fd7a4ccfc7ba41765131ac82bccd2e43bb (diff) | |
Format
Diffstat (limited to 'main.ts')
| -rw-r--r-- | main.ts | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -28,11 +28,11 @@ function load(argv: string[]): void { V8Worker2.recv((ab: ArrayBuffer) => { const msg = pb.Msg.decode(new Uint8Array(ab)); switch (msg.kind) { - case pb.Msg.MsgKind.LOAD: - load(msg.argv); - break; - default: - console.log("Unknown message", msg); - break; + case pb.Msg.MsgKind.LOAD: + load(msg.argv); + break; + default: + console.log("Unknown message", msg); + break; } }); |
