Skip to content

Commit

Permalink
err lint
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Mar 28, 2024
1 parent 7f157f2 commit 954c356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func LoadConfigFromFlags(nodeConfigPath, dirPrefix string) (Config, error) {
// filesInFolder returns a slice of all file paths in a given folder.
func filesInFolder(folder string) ([]string, error) {
var files []string
err := filepath.Walk(folder, func(path string, info os.FileInfo, err error) error {
err := filepath.Walk(folder, func(path string, info os.FileInfo, _ error) error {
if info != nil && !info.IsDir() {
files = append(files, path)
}
Expand Down

0 comments on commit 954c356

Please sign in to comment.