From 804826136d5b0e554539bc2a7b089512dcf128d4 Mon Sep 17 00:00:00 2001 From: E44 <129310925+programmer-44@users.noreply.github.com> Date: Sun, 23 Nov 2025 00:59:54 +0100 Subject: [PATCH] fix(control): string bug delete --- control/frontend/src/ts/api_handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/control/frontend/src/ts/api_handler.ts b/control/frontend/src/ts/api_handler.ts index caeca1d..89a9fc7 100644 --- a/control/frontend/src/ts/api_handler.ts +++ b/control/frontend/src/ts/api_handler.ts @@ -113,7 +113,7 @@ export async function create_folders(ip: string, path: string, folder_names: str } export async function delete_files(ip: string, current_path: string, file_names: string[]) { - let command: string = 'cd ".${current_path}"'; + let command: string = `cd ".${current_path}"`; for (const file_name of file_names) { command += ` && rm -r "${file_name}"`; }