MISC: Remove debug code (#1448)

This commit is contained in:
catloversg 2024-07-02 03:16:47 +07:00 committed by GitHub
parent 3fafa23f28
commit e66a8e319f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 2 deletions

@ -144,7 +144,6 @@ export class StatusBar {
const value = registerValue.slice(2).trim(); const value = registerValue.slice(2).trim();
this.registers[name] = value; this.registers[name] = value;
} }
console.log(this.registers);
}; };
// this is used to show notifications. // this is used to show notifications.
// The package passes a new HTMLElement, but we only want to show the text. // The package passes a new HTMLElement, but we only want to show the text.

@ -148,7 +148,6 @@ class Args {
}; };
private spliceParam(validArgs: ArgStrings): string { private spliceParam(validArgs: ArgStrings): string {
console.log(validArgs);
const argIndex = [...validArgs.long, ...validArgs.short].reduce((ret: number, arg: string) => { const argIndex = [...validArgs.long, ...validArgs.short].reduce((ret: number, arg: string) => {
const argIndex = this.args.indexOf(arg); const argIndex = this.args.indexOf(arg);
return argIndex > -1 ? argIndex : ret; return argIndex > -1 ? argIndex : ret;