@@ -40,6 +40,7 @@ var compilerSources = [
4040 "utilities.ts" ,
4141 "binder.ts" ,
4242 "checker.ts" ,
43+ "sourcemap.ts" ,
4344 "declarationEmitter.ts" ,
4445 "emitter.ts" ,
4546 "program.ts" ,
@@ -59,6 +60,7 @@ var servicesSources = [
5960 "utilities.ts" ,
6061 "binder.ts" ,
6162 "checker.ts" ,
63+ "sourcemap.ts" ,
6264 "declarationEmitter.ts" ,
6365 "emitter.ts" ,
6466 "program.ts" ,
@@ -475,7 +477,7 @@ compileFile(servicesFile, servicesSources,[builtLocalDirectory, copyright].conca
475477 var nodeDefinitionsFileContents = definitionFileContents + "\r\nexport = ts;" ;
476478 fs . writeFileSync ( nodeDefinitionsFile , nodeDefinitionsFileContents ) ;
477479
478- // Node package definition file to be distributed without the package. Created by replacing
480+ // Node package definition file to be distributed without the package. Created by replacing
479481 // 'ts' namespace with '"typescript"' as a module.
480482 var nodeStandaloneDefinitionsFileContents = definitionFileContents . replace ( / d e c l a r e ( n a m e s p a c e | m o d u l e ) t s / g, 'declare module "typescript"' ) ;
481483 fs . writeFileSync ( nodeStandaloneDefinitionsFile , nodeStandaloneDefinitionsFileContents ) ;
@@ -884,7 +886,7 @@ var tslintRulesOutFiles = tslintRules.map(function(p) {
884886desc ( "Compiles tslint rules to js" ) ;
885887task ( "build-rules" , tslintRulesOutFiles ) ;
886888tslintRulesFiles . forEach ( function ( ruleFile , i ) {
887- compileFile ( tslintRulesOutFiles [ i ] , [ ruleFile ] , [ ruleFile ] , [ ] , /*useBuiltCompiler*/ false , /*noOutFile*/ true , /*generateDeclarations*/ false , path . join ( builtLocalDirectory , "tslint" ) ) ;
889+ compileFile ( tslintRulesOutFiles [ i ] , [ ruleFile ] , [ ruleFile ] , [ ] , /*useBuiltCompiler*/ false , /*noOutFile*/ true , /*generateDeclarations*/ false , path . join ( builtLocalDirectory , "tslint" ) ) ;
888890} ) ;
889891
890892function getLinterOptions ( ) {
@@ -947,7 +949,7 @@ function lintWatchFile(filename) {
947949 if ( event !== "change" ) {
948950 return ;
949951 }
950-
952+
951953 if ( ! lintSemaphores [ filename ] ) {
952954 lintSemaphores [ filename ] = true ;
953955 lintFileAsync ( getLinterOptions ( ) , filename , function ( err , result ) {
0 commit comments