Add config export

This commit is contained in:
problematicconsumer
2023-11-12 12:50:14 +03:30
parent 5c8b283d9c
commit 953e6a02d7
3 changed files with 44 additions and 3 deletions

View File

@@ -28,7 +28,5 @@ func BuildConfig(path string, configOptionsJson string) (string, error) {
if err != nil {
return "", nil
}
options = shared.BuildConfig(*configOptions, options)
config, err := json.Marshal(options)
return string(config), err
return shared.BuildConfigJson(*configOptions, options)
}