Command Palette

Command Palette

2.7k Downloads

Lua Error on Launch

rwagner00 opened this issue ยท 2 comments

commented

When bringing up the command palette, I get the following error:

Message: Usage: local stripped = StripHyperlinks(text [, maintainColor, maintainBrackets, stripNewlines, maintainAtlases])
Time: Fri Aug 18 00:30:12 2023
Count: 1
Stack: Usage: local stripped = StripHyperlinks(text [, maintainColor, maintainBrackets, stripNewlines, maintainAtlases])
[string "=[C]"]: ?
[string "=[C]"]: in function `StripHyperlinks'
[string "@Interface/AddOns/CommandPalette/plugins/Bindings.lua"]:76: in function <Interface/AddOns/CommandPalette/plugins/Bindings.lua:60>
[string "=[C]"]: ?
[string "@Interface/SharedXML/CallbackRegistry.lua"]:178: in function <Interface/SharedXML/CallbackRegistry.lua:177>
[string "=[C]"]: ?
[string "@Interface/SharedXML/CallbackRegistry.lua"]:181: in function `TriggerEvent'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:68: in function `UpdateActions'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:60: in function `SetSearch'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:31: in function <Interface/AddOns/CommandPalette/CommandPalette.lua:30>
[string "=[C]"]: in function `Show'
[string "@Interface/AddOns/CommandPalette/CommandPalette.lua"]:42: in function `TryShow'
[string "OPENCOMMANDPALETTE"]:1: in function <[string "OPENCOMMANDPALETTE"]:1>

Locals: (*temporary) = <function> defined =[C]:-1

The palette still launches and apepars to function, but it does throw the error every time.

commented

This should be fixed in 1.0.2! Let me know.

commented

Confirmed that the bug is fixed for me! Closing issue, thanks for the quick fix!