fix conflict

This commit is contained in:
2024-02-02 13:29:27 -08:00
parent a889092b0d
commit 567ab899e0
3 changed files with 95 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ package parse
import (
"encoding/json"
"fmt"
"io/ioutil"
"os"
"path/filepath"
)
@@ -138,5 +137,5 @@ func (m MGConfig) Save() error {
if err != nil {
return err
}
return ioutil.WriteFile(mgConf, b, 0o644)
return os.WriteFile(mgConf, b, 0o644)
}