Fix linter errors

This commit is contained in:
Daniel
2022-09-29 14:31:00 +02:00
parent b552e3f7a5
commit fd83534698
9 changed files with 13 additions and 18 deletions

View File

@@ -3,7 +3,7 @@ package filterlists
import (
"errors"
"fmt"
"io/ioutil"
"os"
"strings"
"sync"
@@ -212,7 +212,7 @@ func updateListIndex() error {
}
// Update list index from updates.
blob, err := ioutil.ReadFile(listIndexUpdate.Path())
blob, err := os.ReadFile(listIndexUpdate.Path())
if err != nil {
return err
}