main
15128022404 1 year ago
parent fc40262d50
commit 01bc6c24b6

@ -25,7 +25,7 @@ func use(ctx *cli.Context) (err error) {
if err = mkSymlink(targetV, goroot); err != nil { if err = mkSymlink(targetV, goroot); err != nil {
return cli.Exit(errstring(err), 1) return cli.Exit(errstring(err), 1)
} }
if output, err := exec.Command(filepath.Join(goroot, "bin", "gradle"), "-").Output(); err == nil { if output, err := exec.Command(filepath.Join(goroot, "bin", "gradle"), "-v").Output(); err == nil {
fmt.Print(string(output)) fmt.Print(string(output))
} }
return nil return nil

Loading…
Cancel
Save