mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 10:01:30 +00:00
Remove unused encoder
This commit is contained in:
parent
e85a38e059
commit
8b8fb4344c
|
@ -137,7 +137,6 @@ func FormatConfig(configContent string) (string, error) {
|
|||
return "", err
|
||||
}
|
||||
var buffer bytes.Buffer
|
||||
json.NewEncoder(&buffer)
|
||||
encoder := json.NewEncoder(&buffer)
|
||||
encoder.SetIndent("", " ")
|
||||
err = encoder.Encode(options)
|
||||
|
|
Loading…
Reference in a new issue