fix for undefined cmds
This commit is contained in:
parent
a394504e23
commit
02ad9b314a
|
@ -24,6 +24,7 @@ class Suggestions {
|
||||||
}
|
}
|
||||||
|
|
||||||
getSuggestions(cmd) {
|
getSuggestions(cmd) {
|
||||||
|
if (!cmd) return []
|
||||||
cmd = cmd.toLowerCase()
|
cmd = cmd.toLowerCase()
|
||||||
let suggestions = []
|
let suggestions = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue