mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
ef5412c9bc
The compiler and its file system implementation expects `fs.exists` to return `true` even for directories. This caused issues with the TSConfig resolution as `/` was looked up. We fix this by making use of `stat` which is equally expensive to `tree.exists`. The devkit tree's don't expose directory existance checks out of the box. Fixes #57887. PR Close #57897