From fdc619fd6307657b84b9ee335cc6f800f621379a Mon Sep 17 00:00:00 2001 From: Wolf Mermelstein Date: Mon, 30 Sep 2024 17:49:30 -0400 Subject: [PATCH] fix: Create dir before dynamic variable evaluation --- task.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/task.go b/task.go index ea01b55c..106628a3 100644 --- a/task.go +++ b/task.go @@ -250,10 +250,6 @@ func (e *Executor) RunTask(ctx context.Context, call *ast.Call) error { } } - if err := e.mkdir(t); err != nil { - e.Logger.Errf(logger.Red, "task: cannot make directory %q: %v\n", t.Dir, err) - } - var deferredExitCode uint8 for i := range t.Cmds {