返回提交历史
Modified
g4f-go/main.go
+1
-3
XFEstudio/gpt4free
Update main.go
4af56169
代码差异
1 个文件
+1
-3
@@ -84,9 +84,7 @@ func runMain() int {
84
84
fmt.Fprintln(os.Stderr, "usage: g4f-go install g4f")
85
85
return 2
86
86
}
87
code, err := runPython(ctx, py, []string{
88
"-m", "pip", args...
89
})
87
code, err := runPython(ctx, py, append([]string{"-m", "pip"}, args...))
90
88
if err != nil {
91
89
fmt.Fprintln(os.Stderr, "g4f-go:", err)
92
90
return 1