This commit is contained in:
nagayaryu 2022-08-18 22:21:36 +09:00
parent 29b86b5fce
commit 1aacae383c

2
dist/index.js vendored
View File

@ -3162,7 +3162,7 @@ class FTPSyncProvider {
removeFolder(folderPath) {
return __awaiter(this, void 0, void 0, function* () {
const pwd = yield this.client.pwd();
const absoluteFolderPath = "/" + pwd + folderPath;
const absoluteFolderPath = pwd + "/" + folderPath;
this.logger.all(`removing folder "${absoluteFolderPath}"`);
if (this.dryRun === false) {
yield utilities_1.retryRequest(this.logger, () => __awaiter(this, void 0, void 0, function* () { return yield this.client.removeDir(absoluteFolderPath); }));