|
@@ -134,7 +134,7 @@ func main() {
|
|
|
if runtime.GOOS == "windows" {
|
|
|
suffix = ".exe"
|
|
|
}
|
|
|
- gofmt := "gofmt" + suffix
|
|
|
+ gofmt := "gofumpt" + suffix
|
|
|
goimports := "gci" + suffix
|
|
|
|
|
|
if gofmtPath, err := exec.LookPath(gofmt); err != nil {
|
|
@@ -183,8 +183,7 @@ func main() {
|
|
|
}
|
|
|
|
|
|
goimportsArgs := []string{
|
|
|
- "-w",
|
|
|
- "-local", "github.com/xtls/xray-core",
|
|
|
+ "write",
|
|
|
}
|
|
|
|
|
|
RunMany(gofmt, gofmtArgs, rawFilesSlice)
|