remove extra quote from disabled-command message (#3035)

there was an extra ' floating around for some reason.
This commit is contained in:
Jeremy Rose
2025-09-02 09:46:41 -07:00
committed by GitHub
parent 1cc6b97227
commit 619436c58f
3 changed files with 25 additions and 1 deletions

View File

@@ -766,7 +766,7 @@ impl ChatWidget {
fn dispatch_command(&mut self, cmd: SlashCommand) {
if !cmd.available_during_task() && self.bottom_pane.is_task_running() {
let message = format!(
"'/'{}' is disabled while a task is in progress.",
"'/{}' is disabled while a task is in progress.",
cmd.command()
);
self.add_to_history(history_cell::new_error_event(message));