From 07aa8cc6a24565bd360de49e7714e8fa3b637c47 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" } }