Skip to content

Commit 6ebf7aa

Browse files
committed
fix: get all deps from go.mod
1 parent 435e91b commit 6ebf7aa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lang/golang/parser/utils.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ func parseModuleFile(data []byte) (map[string]string, error) {
143143
}
144144
modules := make(map[string]string)
145145
for _, req := range ast.Require {
146-
if req.Indirect {
147-
continue
148-
}
146+
// if req.Indirect {
147+
// continue
148+
// }
149149
modules[req.Mod.Path] = req.Mod.Path + "@" + req.Mod.Version
150150
}
151151
// replaces

0 commit comments

Comments
 (0)