We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebcc7fb commit ba5923bCopy full SHA for ba5923b
config/config.go
@@ -187,9 +187,10 @@ func (c *Config) parseJsonFile() {
187
// if we os.Open returns an error then handle it
188
if err != nil {
189
fmt.Println(err, "| Config file does not used")
190
+ } else {
191
+ fmt.Println("Config file used successfully")
192
}
193
- fmt.Println("Config file used successfully")
194
// defer the closing of our jsonFile so that we can parse it later on
195
defer jsonFile.Close()
196
0 commit comments