From d1c5ee5b8f2c6addc8d46078ffcf32f2fa5c2346 Mon Sep 17 00:00:00 2001 From: nagayaryu Date: Thu, 18 Aug 2022 22:15:51 +0900 Subject: [PATCH] fix --- dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index baebf7a..13de448 100644 --- a/dist/index.js +++ b/dist/index.js @@ -3161,10 +3161,10 @@ class FTPSyncProvider { } removeFolder(folderPath) { return __awaiter(this, void 0, void 0, function* () { - await this.client.cd("/"); + yield this.client.cd("/"); const root = yield this.client.pwd(); this.logger.all(`move / "${root}"`); - await this.client.cd("/home"); + yield this.client.cd("/home"); const home = yield this.client.pwd(); this.logger.all(`move /home "${home}"`); const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath;