Remove unused reject methods

This commit is contained in:
世界
2024-11-06 17:23:00 +08:00
parent 36015ef2d0
commit 46d648b248
9 changed files with 67 additions and 48 deletions

View File

@@ -2,7 +2,6 @@ package main
import (
"bytes"
"context"
"os"
"path/filepath"
@@ -39,7 +38,7 @@ func format() error {
return err
}
for _, optionsEntry := range optionsList {
optionsEntry.options, err = badjson.Omitempty(context.TODO(), optionsEntry.options)
optionsEntry.options, err = badjson.Omitempty(globalCtx, optionsEntry.options)
if err != nil {
return err
}