@@ -40,6 +40,7 @@ var compilerSources = [
40
40
"utilities.ts" ,
41
41
"binder.ts" ,
42
42
"checker.ts" ,
43
+ "sourcemap.ts" ,
43
44
"declarationEmitter.ts" ,
44
45
"emitter.ts" ,
45
46
"program.ts" ,
@@ -59,6 +60,7 @@ var servicesSources = [
59
60
"utilities.ts" ,
60
61
"binder.ts" ,
61
62
"checker.ts" ,
63
+ "sourcemap.ts" ,
62
64
"declarationEmitter.ts" ,
63
65
"emitter.ts" ,
64
66
"program.ts" ,
@@ -475,7 +477,7 @@ compileFile(servicesFile, servicesSources,[builtLocalDirectory, copyright].conca
475
477
var nodeDefinitionsFileContents = definitionFileContents + "\r\nexport = ts;" ;
476
478
fs . writeFileSync ( nodeDefinitionsFile , nodeDefinitionsFileContents ) ;
477
479
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
479
481
// 'ts' namespace with '"typescript"' as a module.
480
482
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"' ) ;
481
483
fs . writeFileSync ( nodeStandaloneDefinitionsFile , nodeStandaloneDefinitionsFileContents ) ;
@@ -884,7 +886,7 @@ var tslintRulesOutFiles = tslintRules.map(function(p) {
884
886
desc ( "Compiles tslint rules to js" ) ;
885
887
task ( "build-rules" , tslintRulesOutFiles ) ;
886
888
tslintRulesFiles . 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" ) ) ;
888
890
} ) ;
889
891
890
892
function getLinterOptions ( ) {
@@ -947,7 +949,7 @@ function lintWatchFile(filename) {
947
949
if ( event !== "change" ) {
948
950
return ;
949
951
}
950
-
952
+
951
953
if ( ! lintSemaphores [ filename ] ) {
952
954
lintSemaphores [ filename ] = true ;
953
955
lintFileAsync ( getLinterOptions ( ) , filename , function ( err , result ) {
0 commit comments