mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-05-31 12:49:22 +00:00
Remove unused encoder
This commit is contained in:
parent
e85a38e059
commit
8b8fb4344c
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue