mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
fix typo in ContainsPkgCallExpr comment (#545)
This commit is contained in:
parent
208b73eec4
commit
984c1d39a0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue