1
0
mirror of https://github.com/mgechev/revive.git synced 2025-11-23 22:04:49 +02:00

refactor: remove URL field from the failure struct

This commit is contained in:
mgechev
2018-10-30 15:37:27 -07:00
parent 7845c8af5a
commit 376425d517
19 changed files with 0 additions and 36 deletions

View File

@@ -81,7 +81,6 @@ func (w lintDeepExit) Visit(node ast.Node) ast.Visitor {
Confidence: 1,
Node: ce,
Category: "bad practice",
URL: "#deep-exit",
Failure: fmt.Sprintf("calls to %s.%s only in main() or init() functions", pkg, fn),
})
}