Set hasAddedOrRemovedSymlinks when discovering an existing file by its link (#46569)

* Set hasAddedOrRemovedSymlinks when discovering an existing file by its link

* Make it optional
This commit is contained in:
Andrew Branch
2021-10-29 15:47:48 -07:00
committed by GitHub
parent eeaa595196
commit 7742cf2180
4 changed files with 105 additions and 2 deletions

View File

@@ -1031,6 +1031,11 @@ namespace ts.server {
}
}
/* @internal */
onDiscoveredSymlink() {
this.hasAddedOrRemovedSymlinks = true;
}
/**
* Updates set of files that contribute to this project
* @returns: true if set of files in the project stays the same and false - otherwise.