diff --git a/cmd/run.go b/cmd/run.go index f52b623..1679f7e 100644 --- a/cmd/run.go +++ b/cmd/run.go @@ -268,6 +268,9 @@ func fetchGraphWithCircularDeps( repoZip []byte, logFn func(string, ...interface{}), ) (*api.ProjectGraph, error) { + ctx, cancel := context.WithCancel(ctx) + defer cancel() + type graphResult struct { graph *api.ProjectGraph err error