From e66a8e319f19009c4084c52fd281a040a19b4adb Mon Sep 17 00:00:00 2001 From: catloversg <152669316+catloversg@users.noreply.github.com> Date: Tue, 2 Jul 2024 03:16:47 +0700 Subject: [PATCH] MISC: Remove debug code (#1448) --- src/ScriptEditor/ui/StatusBar.tsx | 1 - src/Terminal/commands/grep.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/ScriptEditor/ui/StatusBar.tsx b/src/ScriptEditor/ui/StatusBar.tsx index cb98cd280..4c13592b0 100644 --- a/src/ScriptEditor/ui/StatusBar.tsx +++ b/src/ScriptEditor/ui/StatusBar.tsx @@ -144,7 +144,6 @@ export class StatusBar { const value = registerValue.slice(2).trim(); this.registers[name] = value; } - console.log(this.registers); }; // this is used to show notifications. // The package passes a new HTMLElement, but we only want to show the text. diff --git a/src/Terminal/commands/grep.ts b/src/Terminal/commands/grep.ts index 4a6d1cf6e..9f8844cbd 100644 --- a/src/Terminal/commands/grep.ts +++ b/src/Terminal/commands/grep.ts @@ -148,7 +148,6 @@ class Args { }; private spliceParam(validArgs: ArgStrings): string { - console.log(validArgs); const argIndex = [...validArgs.long, ...validArgs.short].reduce((ret: number, arg: string) => { const argIndex = this.args.indexOf(arg); return argIndex > -1 ? argIndex : ret;