From 90ed17b21e3e50d1ec08aa697abd29158a15f5d0 Mon Sep 17 00:00:00 2001 From: Yui T Date: Wed, 8 Oct 2014 18:18:41 -0700 Subject: [PATCH] Fix formatting --- src/compiler/emitter.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/compiler/emitter.ts b/src/compiler/emitter.ts index b87b931e370..d59362fd0e9 100644 --- a/src/compiler/emitter.ts +++ b/src/compiler/emitter.ts @@ -3253,12 +3253,13 @@ module ts { else { // targetSourceFile is specified (e.g calling emitter from language service or calling getSemanticDiagnostic from language service) if (shouldEmitToOwnFile(targetSourceFile, compilerOptions)) { - // If shouldEmitToOwnFile return true or targetSourceFile is an external module file, then emit targetSourceFile in its own output file + // If shouldEmitToOwnFile returns true or targetSourceFile is an external module file, then emit targetSourceFile in its own output file var jsFilePath = getOwnEmitOutputFilePath(targetSourceFile, ".js"); emitFile(jsFilePath, targetSourceFile); } else if (!isDeclarationFile(targetSourceFile) && compilerOptions.out) { - // Otherwise, if --out is specified and targetSourceFile shouldn't be emitted to own file, then emit all, non-external-module file, into one single output file + // Otherwise, if --out is specified and targetSourceFile shouldn't be emitted to own file, + // Emit all, non-external-module file, into one single output file emitFile(compilerOptions.out); } }