Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deno task doesnt use deno binary that it was called with, but rather still uses the one from PATH when deno binary not named deno #26005

Closed
crowlKats opened this issue Oct 2, 2024 · 0 comments · Fixed by #26019
Labels
bug Something isn't working correctly task runner related to deno task
Milestone

Comments

@crowlKats
Copy link
Member

crowlKats commented Oct 2, 2024

reproduce:

  • from an rc version: deno upgrade --output=./deno_stable

create deno.json with:

{
  "tasks": {
    "v": "deno -V"
  }
}

and then deno -V, ./deno_stable -V, deno task v, and ./deno_stable task v to reproduce

Screenshot 2024-10-03 at 01 48 12
@crowlKats crowlKats added the bug Something isn't working correctly label Oct 2, 2024
@crowlKats crowlKats added this to the 2.0.0 milestone Oct 2, 2024
@crowlKats crowlKats changed the title deno task doesnt use deno binary that it was called with, but rather still uses the one from PATH regression: deno task doesnt use deno binary that it was called with, but rather still uses the one from PATH Oct 2, 2024
@dsherret dsherret changed the title regression: deno task doesnt use deno binary that it was called with, but rather still uses the one from PATH deno task doesnt use deno binary that it was called with, but rather still uses the one from PATH when deno binary not named deno Oct 3, 2024
@lucacasonato lucacasonato added task runner related to deno task and removed bug Something isn't working correctly labels Oct 3, 2024
@lucacasonato lucacasonato added the bug Something isn't working correctly label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly task runner related to deno task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants