refactor: Update getReportMessage function to handle unsupported nested context types

This commit is contained in:
Venkatesh Kotwade 2024-08-25 03:12:41 +05:30
parent b46089e786
commit 07aa8cc6a2

View file

@ -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"
}
}