summaryrefslogtreecommitdiff
path: root/cli/tsc/00_typescript.js
diff options
context:
space:
mode:
authorNathan Whitaker <17734409+nathanwhit@users.noreply.github.com>2024-05-29 17:45:22 -0700
committerGitHub <noreply@github.com>2024-05-29 17:45:22 -0700
commita379009bfdddc56d6400740ad7be86f8930952ab (patch)
treea1198bce9d62d9c2a59073921707c31b894c8eee /cli/tsc/00_typescript.js
parente084fe10a98556d4630b54bdda2ce23b3b5b8a60 (diff)
fix(cli): Prefer npm bin entries provided by packages closer to the root (#24024)
Fixes #24012. In the case of multiple packages providing a binary with a same name, we were basically leaving the results undefined (since we set up things in parallel, and whichever got set up first won). In addition, we were warning about these cases, even though it's a situation that's expected to occur. Instead, in the case of a collision in the binary names, we prefer the binary provided by the package with the least depth in the dependency tree. While I was at it, I also took moved more code to `bin_entries.rs` since it was starting to get a bit cluttered.
Diffstat (limited to 'cli/tsc/00_typescript.js')
0 files changed, 0 insertions, 0 deletions