From 0fbaa12f37b3304f91be0fd22dcb4e1aadc03c55 Mon Sep 17 00:00:00 2001 From: nagayaryu Date: Thu, 18 Aug 2022 21:57:17 +0900 Subject: [PATCH] fix --- dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 8280d25..5616c4c 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3161,7 +3161,8 @@ class FTPSyncProvider { } removeFolder(folderPath) { return __awaiter(this, void 0, void 0, function* () { - const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath; + // const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath; + const absoluteFolderPath = "/" + folderPath; const current = yield this.client.pwd(); this.logger.all(`removing folder "${absoluteFolderPath} ${current}"`); if (this.dryRun === false) {