Remove unused reject methods

This commit is contained in:
世界
2024-11-06 17:23:00 +08:00
parent 9566b5a9fd
commit 94373a1091
8 changed files with 65 additions and 46 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
}