Skip to content

Commit ffa66d8

Browse files
committed
fix: get all deps from go.mod
1 parent 651208e commit ffa66d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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)