1
0
mirror of https://github.com/go-task/task.git synced 2025-11-29 22:48:03 +02:00

feat: use timeout in RemoteExists function

This commit is contained in:
Pete Davison
2024-03-25 19:05:21 +00:00
parent a496a1dfa8
commit 64b7d3415a
5 changed files with 25 additions and 8 deletions

View File

@@ -54,7 +54,7 @@ func (e *Executor) Setup() error {
}
func (e *Executor) getRootNode() (taskfile.Node, error) {
node, err := taskfile.NewRootNode(e.Logger, e.Entrypoint, e.Dir, e.Insecure)
node, err := taskfile.NewRootNode(e.Logger, e.Entrypoint, e.Dir, e.Insecure, e.Timeout)
if err != nil {
return nil, err
}