Skip to content

Commit

Permalink
Merge pull request #24 from craigpastro/small-bug
Browse files Browse the repository at this point in the history
Continue to next package if it is not imported
  • Loading branch information
ryanrolds committed Aug 20, 2023
2 parents aecf4f1 + f6d0f9b commit 3fcea8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func getTargetTypes(pssa *buildssa.SSA, targetPackages []string) []*types.Pointe
pkg := pssa.Pkg.Prog.ImportedPackage(sqlPkg)
if pkg == nil {
// the SQL package being checked isn't imported
return targets
continue
}

rowsType := getTypePointerFromName(pkg, rowsName)
Expand Down

0 comments on commit 3fcea8e

Please sign in to comment.