Skip to content

Commit 29245f2

Browse files
author
gregorgololicic
committed
fix: ignore not found conf
1 parent 81a0970 commit 29245f2

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

flow

-21 MB
Binary file not shown.

flow-cli

-21 MB
Binary file not shown.

util/util.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,7 @@ func InitConfig() {
8888

8989
if err := viper.ReadInConfig(); err != nil {
9090
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
91-
fmt.Println("ERROR not found")
92-
} else {
93-
// Config file was found but another error was produced
91+
// if not found ignore it
9492
}
9593
}
9694
}

0 commit comments

Comments
 (0)