fix: small fix & cleaning.

This commit is contained in:
Alexandre Pujol 2024-10-12 20:11:45 +01:00
parent 273485217c
commit 3ef6c44038
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
3 changed files with 12 additions and 10 deletions

View file

@ -135,7 +135,7 @@ func aaFormat(files paths.PathList) error {
if !file.Exist() {
return nil
}
profile, err := util.ReadFile(file)
profile, err := file.ReadFileAsString()
if err != nil {
return err
}