Skip to content

Commit bedb342

Browse files
committed
fix: remove unused filter on go list command.
1 parent 44c4977 commit bedb342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type modInfo struct {
2121
// GetModuleFile gets module file.
2222
func GetModuleFile() (*modfile.File, error) {
2323
// https://github.com/golang/go/issues/44753#issuecomment-790089020
24-
cmd := exec.Command("go", "list", "-m", "-json", "-f", "{{.GoMod}}")
24+
cmd := exec.Command("go", "list", "-m", "-json")
2525

2626
raw, err := cmd.CombinedOutput()
2727
if err != nil {

0 commit comments

Comments
 (0)