DenoDDeno
Powered by
Alch3m1stA
Denoβ€’13mo agoβ€’
3 replies
Alch3m1st

'deno run' for tasks question/Bug 🐞

Hi I am not sure if this is a bug, so I thought to ask here first.

So I understand Deno has both 'run' and 'task' sub command for running tasks.

However if there is a 'directory' and a task with same name, I find Deno conflicts and gives directory a precedence:

Example:
Imagine there is a 'test/' directory and a task named 'test'

If I do 'deno run test' Deno gives an error that 'test/' is a directory.

I personally think this is a bug as for actual files Deno requires extension but I would love to have some thoughts on this 😊
Thanks!
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

concurrent deno tasks
wesbosWwesbos / help
2y ago
`deno run` ignores @deno-types?
DarveshDDarvesh / help
3y ago
Deno build/run
Deno AI HelperDDeno AI Helper / help
3y ago