chore: update lint
This commit is contained in:
parent
c7558ee7c5
commit
9465c2fe89
20 changed files with 164 additions and 124 deletions
|
@ -115,7 +115,7 @@ export const useCommandRegistry = defineStore('command', () => {
|
|||
.filter(cmd => (cmd.parent ?? '') === scope)
|
||||
|
||||
if (query) {
|
||||
const fuse = lastScope === scope && lastFuse
|
||||
const fuse = (lastScope === scope && lastFuse)
|
||||
? lastFuse
|
||||
: new Fuse(cmds, {
|
||||
keys: ['scope', 'name', 'description'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue