Alch3m1stA
Denoβ€’11mo 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!
Was this page helpful?