We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0019be2 commit af4e96eCopy full SHA for af4e96e
rule/utils.go
@@ -17,7 +17,7 @@ type exitFuncChecker func(args []ast.Expr) bool
17
var alwaysTrue exitFuncChecker = func([]ast.Expr) bool { return true }
18
19
// exitFunctions is a map of std packages and functions that are considered as exit functions.
20
-var exitFunctions = map[string]map[string]exitFuncChecker {
+var exitFunctions = map[string]map[string]exitFuncChecker{
21
"os": {"Exit": alwaysTrue},
22
"syscall": {"Exit": alwaysTrue},
23
"log": {
0 commit comments