mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 04:52:22 +08: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 New Issue
Block a user