mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 11:29:36 +03:00
Fix vformat
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user