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 run cannot run task name with colons #25232

Closed
LitoMore opened this issue Aug 27, 2024 · 0 comments · Fixed by #25233
Closed

deno run cannot run task name with colons #25232

LitoMore opened this issue Aug 27, 2024 · 0 comments · Fixed by #25233
Assignees
Labels
bug Something isn't working correctly task runner related to deno task

Comments

@LitoMore
Copy link

Version: Deno 1.46.1

{
  "tasks": {
    "dev:frontend": "print hello"
  }
}

The deno run dev:frontend will fail because:

error: Unsupported scheme "dev" for module "dev:frontend". Supported schemes: [
    "data",
    "blob",
    "file",
    "http",
    "https",
]
@marvinhagemeister marvinhagemeister added bug Something isn't working correctly task runner related to deno task labels Aug 27, 2024
@marvinhagemeister marvinhagemeister self-assigned this Aug 27, 2024
lucacasonato pushed a commit that referenced this issue Aug 29, 2024
Fix task names containing a colon not being found with `deno run`. We
were only checking for a `module not found` error message, but strings
containing a colon throw a different error.

Fixes #25232
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