From 158ae0bfe900d2bac3076390c4fe3d2b54d94fe5 Mon Sep 17 00:00:00 2001 From: Stanislav <62983943+stanislavstrelnikov@users.noreply.github.com> Date: Tue, 7 Jul 2020 04:45:39 +0300 Subject: clean up code in cli/js (#6611) --- cli/js/compiler_api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/compiler_api.ts') 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 = {}; - 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]; -- cgit v1.2.3