From e482fa4d35466f55b6a4ea098f5cf54fba158774 Mon Sep 17 00:00:00 2001 From: Venkatesh Kotwade Date: Sun, 25 Aug 2024 03:12:41 +0530 Subject: [PATCH] refactor: Update getReportMessage function to handle unsupported nested context types --- pkg/analyzer/analyzer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyzer/analyzer.go b/pkg/analyzer/analyzer.go index 0840a06..9ccdeed 100644 --- a/pkg/analyzer/analyzer.go +++ b/pkg/analyzer/analyzer.go @@ -85,7 +85,7 @@ func getReportMessage(node ast.Node) string { case *ast.FuncLit: return "nested context in function literal" default: - return "nested context" + return "unsupported nested context type" } }