go-task / task

A task runner / simpler Make alternative written in Go
https://taskfile.dev
MIT License
11.57k stars 618 forks source link

Create directory before evaluating dynamic arguments #1848

Open 404Wolf opened 2 months ago

404Wolf commented 2 months ago

Create the task's directory before evaluating dynamic arguments, so that they can use the directory if they need to.

I'm new here and to this repo, so hopefully I conformed to the guidelines, but if not let me know!

Fix for https://github.com/go-task/task/issues/1841