mirror of
https://github.com/taigrr/wtf
synced 2026-03-29 07:35:16 -07:00
Remove another panic call
This commit is contained in:
@@ -152,7 +152,8 @@ func createWtfConfigDir() {
|
||||
func createWtfConfigFile() {
|
||||
filePath, err := CreateFile(WtfConfigFile)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
displayDefaultConfigCreateError(err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// If the file is empty, write to it
|
||||
|
||||
Reference in New Issue
Block a user