File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -494,13 +494,13 @@ module ts {
494494 return getNormalizedPathFromPathComponents ( commonPathComponents ) ;
495495 }
496496
497- function checkSourceFilesBelongToPath ( soruceFiles : SourceFile [ ] , rootDirectory : string ) : boolean {
497+ function checkSourceFilesBelongToPath ( sourceFiles : SourceFile [ ] , rootDirectory : string ) : boolean {
498498 let allFilesBelongToPath = true ;
499- if ( soruceFiles ) {
499+ if ( sourceFiles ) {
500500 let currentDirectory = host . getCurrentDirectory ( ) ;
501501 let absoluteRootDirectoryPath = host . getCanonicalFileName ( getNormalizedAbsolutePath ( rootDirectory , currentDirectory ) ) ;
502502
503- for ( var sourceFile of soruceFiles ) {
503+ for ( var sourceFile of sourceFiles ) {
504504 if ( ! isDeclarationFile ( sourceFile ) ) {
505505 let absoluteSourceFilePath = host . getCanonicalFileName ( getNormalizedAbsolutePath ( sourceFile . fileName , currentDirectory ) ) ;
506506 if ( absoluteSourceFilePath . indexOf ( absoluteRootDirectoryPath ) !== 0 ) {
You can’t perform that action at this time.
0 commit comments