From d0785e1793a6b07356fcc61ca84dd69f3e1dcb9d Mon Sep 17 00:00:00 2001 From: Wraient Date: Sun, 27 Oct 2024 16:43:10 +0530 Subject: [PATCH] Hot fix --- internal/curd.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/curd.go b/internal/curd.go index ec3271c..e71db86 100644 --- a/internal/curd.go +++ b/internal/curd.go @@ -130,6 +130,9 @@ func ExitCurd(err error) { func CurdOut(data interface{}) { userCurdConfig := GetGlobalConfig() + if userCurdConfig == nil { + userCurdConfig = &CurdConfig{} + } if !userCurdConfig.RofiSelection { fmt.Println(fmt.Sprintf("%v", data)) } else {