Skip to content

Commit

Permalink
Hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wraient committed Oct 27, 2024
1 parent e301087 commit d0785e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/curd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d0785e1

Please sign in to comment.