Skip to content

Commit 6a7cbd0

Browse files
committed
fix #3
1 parent 58d1724 commit 6a7cbd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

golist.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ type (
2424
)
2525

2626
func getDepPackages() ([]Module, error) {
27-
output, err := getCmdOutput("go", "list", "-u", "-m", "-json", "all")
27+
output, err := getCmdOutput("go", "list", "-u", "-m", "-json", "-mod=readonly", "all")
2828
if err != nil {
2929
return nil, err
3030
}

0 commit comments

Comments
 (0)