Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
edobry committed Dec 10, 2024
1 parent a5f7ac0 commit 4ffe4de
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions validation/standard/init.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package standard

import (
"fmt"
"embed"
"fmt"
"io/fs"

"github.com/BurntSushi/toml"
Expand All @@ -22,11 +22,11 @@ func init() {
decodeTOMLFileIntoConfig("standard-config-roles-universal.toml", Config.Roles)

networkDirName := "networks"
networks, err := standardConfigFS.ReadDir("config/"+networkDirName)
networks, err := standardConfigFS.ReadDir("config/" + networkDirName)
if err != nil {
panic(fmt.Errorf("failed to read dir: %w", err))
}

// iterate over network entries
for _, networkDir := range networks {
if !networkDir.IsDir() {
Expand Down

0 comments on commit 4ffe4de

Please sign in to comment.