mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 03:20:13 +08:00
fix: limit 2 level to only 5 children
This commit is contained in:
1 parent
34d5ace664
commit
f43fa1b5ef
3 files changed
+24
-22
No files matched your search
@@ -19,7 +19,6 @@ const commandListeners = {
|
||||
|
||||
async function handleCommand(command) {
|
||||
const argv = minimist(command.split(' '))
|
||||
console.log(argv)
|
||||
const name = argv._[0]
|
||||
const listeners = commandListeners[name]
|
||||
if (!listeners) return {}
|
||||
|
||||
Reference in new issue
Block a user