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 @@ -3780,17 +3780,17 @@ namespace ts.server {
37803780 const result : PackageJsonInfo [ ] = [ ] ;
37813781 forEachAncestorDirectory ( getDirectoryPath ( filePath ) , directory => {
37823782 switch ( packageJsonCache . directoryHasPackageJson ( directory ) ) {
3783- // Sync and check same directory again
37843783 case Ternary . Maybe :
3784+ // Sync and check same directory again
37853785 packageJsonCache . searchDirectoryAndAncestors ( directory ) ;
37863786 const newResult = packageJsonCache . directoryHasPackageJson ( directory ) ;
37873787 if ( newResult !== Ternary . True ) {
37883788 Debug . assertEqual ( newResult , Ternary . False ) ;
37893789 break ;
37903790 }
3791- // fall through
3792- // Check the package.json
3791+ // fall through
37933792 case Ternary . True :
3793+ // Check the package.json
37943794 const packageJsonFileName = combinePaths ( directory , "package.json" ) ;
37953795 watchPackageJsonFile ( packageJsonFileName ) ;
37963796 const info = packageJsonCache . getInDirectory ( directory ) ;
You can’t perform that action at this time.
0 commit comments