mirror of
https://github.com/securego/gosec.git
synced 2025-03-17 20:57:54 +02:00
fix typo in ContainsPkgCallExpr comment (#545)
This commit is contained in:
parent
208b73eec4
commit
984c1d39a0
@ -70,7 +70,7 @@ func (c CallList) ContainsPointer(selector, indent string) bool {
|
||||
}
|
||||
|
||||
// ContainsPkgCallExpr resolves the call expression name and type, and then further looks
|
||||
// up the package path for that type. Finally, it determines if the call exists within the call list
|
||||
// up the package path for that type. Finally, it determines if the call exists within the call list
|
||||
func (c CallList) ContainsPkgCallExpr(n ast.Node, ctx *Context, stripVendor bool) *ast.CallExpr {
|
||||
selector, ident, err := GetCallInfo(n, ctx)
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user