CR feedback

This commit is contained in:
zhengbli committed 2015-10-15 13:53:37 -07:00
1 parent 3e37b3158b
commit ea9bf7313a
3 files changed
+3 -8

No files matched your search

+1 -1
View File
@@ -576,7 +576,7 @@ namespace ts.server {
let newRootFiles = projectOptions.files.map((f => this.getCanonicalFileName(f)));
let currentRootFiles = project.getRootFiles().map((f => this.getCanonicalFileName(f)));
if (!arrayIsEqualTo(currentRootFiles, newRootFiles, /*comparer*/ undefined, /*sortBeforeComparison*/ true)) {
if (!arrayIsEqualTo(currentRootFiles.sort(), newRootFiles.sort())) {
// For configured projects, the change is made outside the tsconfig file, and
// it is not likely to affect the project for other files opened by the client. We can
// just update the current project.