feat: update dep version

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-07-01 14:33:16 +08:00
parent b6803ed01c
commit 46d6748f31
25 changed files with 60 additions and 47 deletions

View File

@ -21,7 +21,7 @@
"devDependencies": {
"reflect-metadata": "^0.1.13",
"rimraf": "^3.0.2",
"typescript": "^3.9.2"
"typescript": "^3.9.5"
},
"dependencies": {
"@ccms/api": "^0.8.1",

View File

@ -47,7 +47,7 @@ export class CommandMap {
}
tabComplate(sender: any, input: string, index?: number): string[] {
if (index == 0) { return Object.keys(this.commands) }
if (index == 0) { return Object.keys(this.commands).concat('help') }
let [command, ...args] = input.split(' ')
let exists = this.commands[command]
if (exists && exists.tabCompleter) {