diff options
author | Stanislav <62983943+stanislavstrelnikov@users.noreply.github.com> | 2020-07-07 04:45:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 21:45:39 -0400 |
commit | 158ae0bfe900d2bac3076390c4fe3d2b54d94fe5 (patch) | |
tree | 209e4b5682e2a899041767c49428e34329e48084 /cli/js/compiler_api.ts | |
parent | ab4c574f5202f607ceb6068f56b3cc8aed1bbbaf (diff) |
clean up code in cli/js (#6611)
Diffstat (limited to 'cli/js/compiler_api.ts')
-rw-r--r-- | cli/js/compiler_api.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/compiler_api.ts b/cli/js/compiler_api.ts index 88d99e5b4..0f4aec887 100644 --- a/cli/js/compiler_api.ts +++ b/cli/js/compiler_api.ts @@ -52,8 +52,8 @@ export async function compile( const emitMap: Record<string, string> = {}; - for (const [key, emmitedSource] of Object.entries(result.emitMap)) { - emitMap[key] = emmitedSource.contents; + for (const [key, emittedSource] of Object.entries(result.emitMap)) { + emitMap[key] = emittedSource.contents; } return [maybeDiagnostics, emitMap]; |