Skip to content

Commit 7857674

Browse files
author
Ulrich Lissé
committed
Fix error message
1 parent d6023c2 commit 7857674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func createConfigFileIfNonExistent(ffp string) {
3838
if _, err := os.Stat(ffp); os.IsNotExist(err) {
3939
_, err := os.Create(ffp)
4040
if err != nil {
41-
panic(fmt.Sprintf("config file does not exists and wasn't able to create it: %s\n", err))
41+
panic(fmt.Sprintf("could not create config file: %s\n", err))
4242
}
4343
}
4444
}

0 commit comments

Comments
 (0)