Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
params: avoid deprecated ioutil.ReadDir
ioutil.ReadDir was deprecated in Go 1.16, and the lint workflow has started to flag it. The suggested replacement is os.ReadDir, which returns a list of fs.DirEntry. For this spot, the downstream code expects a list of fs.FileInfo, so add the wrapper suggested in the Go docs.
- Loading branch information