Skip to content

Commit d7fdf8e

Browse files
committed
Format
1 parent 194132f commit d7fdf8e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/server/project.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,10 +1530,12 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
15301530

15311531
/** @internal */
15321532
watchTypingLocations(files: readonly string[] | undefined): void {
1533-
// Skip watching typing locations for inferred project whose currentDirectory is not watchable or
1533+
// Skip watching typing locations for inferred project whose currentDirectory is not watchable or
15341534
// is same as server's current directory
1535-
if (this.currentDirectory === this.projectService.currentDirectory ||
1536-
!canWatchDirectoryOrFilePath(this.toPath(this.currentDirectory))) {
1535+
if (
1536+
this.currentDirectory === this.projectService.currentDirectory ||
1537+
!canWatchDirectoryOrFilePath(this.toPath(this.currentDirectory))
1538+
) {
15371539
return;
15381540
}
15391541

0 commit comments

Comments
 (0)