File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -3228,7 +3228,7 @@ module ts {
3228
3228
}
3229
3229
3230
3230
if ( targetSourceFile === undefined ) {
3231
- // No targetSourceFile is specified (i.e . calling emitter from batch compiler)
3231
+ // No targetSourceFile is specified (e.g . calling emitter from batch compiler)
3232
3232
forEach ( program . getSourceFiles ( ) , sourceFile => {
3233
3233
if ( shouldEmitToOwnFile ( sourceFile , compilerOptions ) ) {
3234
3234
var jsFilePath = getOwnEmitOutputFilePath ( sourceFile , ".js" ) ;
@@ -3240,7 +3240,7 @@ module ts {
3240
3240
emitFile ( compilerOptions . out ) ;
3241
3241
}
3242
3242
} else {
3243
- // targetSourceFile is specified (i.e. calling emitter from language service)
3243
+ // targetSourceFile is specified (e.g calling emitter from language service)
3244
3244
if ( shouldEmitToOwnFile ( targetSourceFile , compilerOptions ) ) {
3245
3245
// If shouldEmitToOwnFile is true or targetSourceFile is an external module file, then emit targetSourceFile in its own output file
3246
3246
var jsFilePath = getOwnEmitOutputFilePath ( targetSourceFile , ".js" ) ;
Original file line number Diff line number Diff line change @@ -3930,7 +3930,7 @@ module ts {
3930
3930
// Perform semantic and force a type check before emit to ensure that all symbols are updated
3931
3931
// EmitFiles will report if there is an error from TypeChecker and Emitter
3932
3932
// Depend whether we will have to emit into a single file or not either emit only selected file in the project, emit all files into a single file
3933
- var emitFilesResult = getFullTypeCheckChecker ( ) . emitFiles ( targetSourceFile ) ; ;
3933
+ var emitFilesResult = getFullTypeCheckChecker ( ) . emitFiles ( targetSourceFile ) ;
3934
3934
emitOutput . emitOutputStatus = emitFilesResult . emitResultStatus ;
3935
3935
3936
3936
// Reset writer back to undefined to make sure that we produce an error message if CompilerHost.writeFile method is called when we are not in getEmitOutput
You can’t perform that action at this time.
0 commit comments