error handle change
This commit is contained in:
parent
00748f4a88
commit
7ff3914f89
@ -54,8 +54,10 @@ func creatAction(c *cli.Context) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Println("Created: " + configPath)
|
||||
} else {
|
||||
fmt.Println("Configuration file already exists")
|
||||
}
|
||||
fmt.Println("Created: " + configPath)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user