1
0

refactor: remove ioutil

This commit is contained in:
2024-02-20 12:38:36 +00:00
parent 48e5e8cd04
commit 820208d079
2 changed files with 3 additions and 4 deletions

View File

@ -6,7 +6,7 @@ package cmd
import (
"fmt"
"io/ioutil"
"os"
"time"
"code.dumpstack.io/tools/out-of-tree/fs"
@ -35,7 +35,7 @@ func (cmd *PackCmd) Run(g *Globals) (err error) {
tag := fmt.Sprintf("pack_run_%d", time.Now().Unix())
log.Print("Tag:", tag)
files, err := ioutil.ReadDir(g.WorkDir)
files, err := os.ReadDir(g.WorkDir)
if err != nil {
return
}