mirror of
https://github.com/securego/gosec.git
synced 2025-07-17 01:12:33 +02:00
fix typo in ContainsPkgCallExpr comment (#545)
This commit is contained in:
@ -70,7 +70,7 @@ func (c CallList) ContainsPointer(selector, indent string) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// ContainsPkgCallExpr resolves the call expression name and type, and then further looks
|
// 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 {
|
func (c CallList) ContainsPkgCallExpr(n ast.Node, ctx *Context, stripVendor bool) *ast.CallExpr {
|
||||||
selector, ident, err := GetCallInfo(n, ctx)
|
selector, ident, err := GetCallInfo(n, ctx)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user