Skip to content

which utility not working correctly when using $.prefix #689

Answered by antonmedv
ivancuric asked this question in General
Discussion options

You must be logged in to vote

This is expected.

  • which.sync() uses which npm package and does not respect $.prefix`.
  • await $`which` uses system which and executes $.prefix before the command.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ivancuric
Comment options

@antonmedv
Comment options

Answer selected by antonmedv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
General
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #688 on October 23, 2023 15:18.