[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-02-04 09:14:32 +00:00
committed by GitHub
parent 44f8590fe8
commit 5c3b7acd54

View File

@@ -71,10 +71,7 @@ export const unzipDrop = async (zipFile: File, application: Application) => {
if (sftp === null) throw new Error("No SFTP connection available");
try {
const dirPath = path.dirname(fullPath);
await execAsyncRemote(
targetServerId,
`mkdir -p "${dirPath}"`,
);
await execAsyncRemote(targetServerId, `mkdir -p "${dirPath}"`);
await uploadFileToServer(sftp, entry.getData(), fullPath);
} catch (err) {
console.error(`Error uploading file ${fullPath}:`, err);