fix(control): remove second delete request

This commit is contained in:
E44
2025-11-23 12:48:48 +01:00
parent 804826136d
commit 5b7f872c60
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -117,7 +117,6 @@ export async function delete_files(ip: string, current_path: string, file_names:
for (const file_name of file_names) {
command += ` && rm -r "${file_name}"`;
}
await run_shell_command(ip, command);
const raw_response = await run_shell_command(ip, command);
if (!raw_response.ok || !raw_response.json) return;
const json_response = raw_response.json as ShellCommandResponse;