mirror of
https://github.com/go-task/task.git
synced 2025-01-22 05:10:17 +02:00
fix: Create dir before dynamic variable evaluation
This commit is contained in:
parent
52014cd76e
commit
fdc619fd63
4
task.go
4
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
|
var deferredExitCode uint8
|
||||||
|
|
||||||
for i := range t.Cmds {
|
for i := range t.Cmds {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user