mirror of
https://github.com/denoland/deno.git
synced 2025-07-29 08:04:00 +00:00
clean up code in cli/js (#6611)
This commit is contained in:
parent
ab4c574f52
commit
158ae0bfe9
89 changed files with 395 additions and 354 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue