diff options
| author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:06:09 -0400 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 03:06:09 -0400 |
| commit | 6f59a9588b7d6d53c5f56facb0e33f7faec7b6fe (patch) | |
| tree | cf58f4788bb185845e4a30026b0ac45d917a40b2 /main.ts | |
| parent | aba6a1dc871edbc6cbb286a350a4ba79ca645fb8 (diff) | |
Add tslint, and tenative travis file.
Diffstat (limited to 'main.ts')
| -rw-r--r-- | main.ts | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ //import * as ts from "typescript"; -import { main as pb } from "./msg.pb" +import { main as pb } from "./msg.pb"; import "./util"; import { TextDecoder } from "text-encoding"; @@ -16,14 +16,14 @@ function readFileSync(filename: string): string { throw Error(res.error); } const decoder = new TextDecoder("utf8"); - return decoder.decode(res.data) + return decoder.decode(res.data); } function load(argv: string[]): void { console.log("Load argv", argv); const inputFn = argv[1]; const source = readFileSync(inputFn); - console.log("source", source) + console.log("source", source); } V8Worker2.recv((ab: ArrayBuffer) => { |
