|
@@ -9,7 +9,6 @@ package update
|
|
|
|
|
|
import (
|
|
|
"fmt"
|
|
|
- "io/ioutil"
|
|
|
"os"
|
|
|
"strconv"
|
|
|
"strings"
|
|
@@ -92,7 +91,7 @@ func isFirstTimeInitialize(path string) (bool, error) {
|
|
|
}
|
|
|
|
|
|
// Read the directory contents
|
|
|
- files, err := ioutil.ReadDir(path)
|
|
|
+ files, err := os.ReadDir(path)
|
|
|
if err != nil {
|
|
|
return false, err
|
|
|
}
|