fix(control): fix create folder on main level path

This commit is contained in:
E44
2025-11-23 00:58:59 +01:00
parent 4445c5ea50
commit 70b381d1f9
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ export async function create_folders(ip: string, path: string, folder_names: str
let command = `cd ".${path}"`;
for (const part of folder_names) {
command += `&& mkdir "${part}" && cd "${part}/"`;
command += ` && mkdir "${part}" && cd "${part}/"`;
}
const raw_response = await run_shell_command(ip, command);