diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2024-04-08 19:45:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-08 19:45:20 +0100 |
commit | 3c346c8ea6aa888475c19d512ddd4c247c00b1ea (patch) | |
tree | d7e4e7e3369c79ad569cca3c982ead766f2d0189 /cli/tsc/99_main_compiler.js | |
parent | 9752a153ea69328acb6a5ca179c4b8cf7780c894 (diff) |
perf(lsp): don't pass remote modules as tsc roots (#23259)
Diffstat (limited to 'cli/tsc/99_main_compiler.js')
-rw-r--r-- | cli/tsc/99_main_compiler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/99_main_compiler.js b/cli/tsc/99_main_compiler.js index bfac52cce..3408b0f07 100644 --- a/cli/tsc/99_main_compiler.js +++ b/cli/tsc/99_main_compiler.js @@ -550,7 +550,7 @@ delete Object.prototype.__proto__; ts.toPath( fileName, this.getCurrentDirectory(), - this.getCanonicalFileName(fileName), + this.getCanonicalFileName.bind(this), ); }, // @ts-ignore Undocumented method. |