diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 21:47:39 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-14 21:47:39 -0400 |
commit | 8a7ac7f4f3aacfe322732c616c7622c79db9fae3 (patch) | |
tree | 38e68c1e3398330d0d5ab4e04a50ced22dd4a75e /compiler.ts | |
parent | 471a4f461a608179cead961a5f4240c302d4a5d1 (diff) |
Run clang-format on msg.proto
Diffstat (limited to 'compiler.ts')
-rw-r--r-- | compiler.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler.ts b/compiler.ts index 0be5c6204..21f4d5bd3 100644 --- a/compiler.ts +++ b/compiler.ts @@ -6,7 +6,7 @@ import * as path from "path"; export function compile(cwd: string, inputFn: string): void { const options: ts.CompilerOptions = { allowJs: true, - outFile: "out.js" + outDir: "_denoCache_/", }; const host = new CompilerHost(cwd); @@ -134,8 +134,7 @@ export class CompilerHost { onError: ((message: string) => void) | undefined, sourceFiles: ReadonlyArray<ts.SourceFile> ): void { - log("writeFile", fileName); - log("writeFile source", data); + log("writeFile", { fileName, data }); globalEval(data); } |