From ae2e5a38a5e7fb9035d4b1c959a98ef306788d89 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Mon, 31 Aug 2020 17:07:35 -0700 Subject: Change nogo failures to test failures, instead of build failures. PiperOrigin-RevId: 329408633 --- tools/nogo/config.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tools/nogo/config.go') diff --git a/tools/nogo/config.go b/tools/nogo/config.go index 451cd4a4c..cfe7b4aa4 100644 --- a/tools/nogo/config.go +++ b/tools/nogo/config.go @@ -122,3 +122,8 @@ var analyzerConfig = map[*analysis.Analyzer]matcher{ checkescape.Analyzer: internalMatches(), checkunsafe.Analyzer: internalMatches(), } + +var escapesConfig = map[*analysis.Analyzer]matcher{ + // Informational only: include all packages. + checkescape.EscapeAnalyzer: alwaysMatches(), +} -- cgit v1.2.3