File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1408,7 +1408,7 @@ namespace ts {
1408
1408
//
1409
1409
// Each LS has a reference to file 'foo.ts' at version 1. LS2 then updates
1410
1410
// it's version of 'foo.ts' to version 2. This will cause LS2 and the
1411
- // DocumentRegistry to have version 2 of the document. HOwever , LS1 will
1411
+ // DocumentRegistry to have version 2 of the document. However , LS1 will
1412
1412
// have version 1. And *importantly* this source file will be *corrupt*.
1413
1413
// The act of creating version 2 of the file irrevocably damages the version
1414
1414
// 1 file.
@@ -1451,7 +1451,7 @@ namespace ts {
1451
1451
1452
1452
function dispose ( ) : void {
1453
1453
if ( program ) {
1454
- // Use paths to ensure we are using correct key and paths as document registry could bre created with different current directory than host
1454
+ // Use paths to ensure we are using correct key and paths as document registry could be created with different current directory than host
1455
1455
const key = documentRegistry . getKeyForCompilationSettings ( program . getCompilerOptions ( ) ) ;
1456
1456
forEach ( program . getSourceFiles ( ) , f =>
1457
1457
documentRegistry . releaseDocumentWithKey ( f . resolvedPath , key ) ) ;
You can’t perform that action at this time.
0 commit comments