From 68b1d2783dcf20970c7d381953e7eed3701b85c6 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Sun, 21 Sep 2025 10:55:53 -0300 Subject: [PATCH] lint: fix lint by passing context --- taskfile/node_http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taskfile/node_http.go b/taskfile/node_http.go index faa6616d..3db520d4 100644 --- a/taskfile/node_http.go +++ b/taskfile/node_http.go @@ -53,7 +53,7 @@ func (node *HTTPNode) ReadContext(ctx context.Context) ([]byte, error) { if err != nil { return nil, err } - req, err := http.NewRequest("GET", url.String(), nil) + req, err := http.NewRequestWithContext(ctx, "GET", url.String(), nil) if err != nil { return nil, errors.TaskfileFetchFailedError{URI: node.Location()} }