mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
f
This commit is contained in:
parent
3ef0525fba
commit
487b130323
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -3162,7 +3162,7 @@ class FTPSyncProvider {
|
||||
removeFolder(folderPath) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath;
|
||||
const current = await this.client.pwd();
|
||||
const current = yield this.client.pwd();
|
||||
this.logger.all(`removing folder "${absoluteFolderPath} ${current}"`);
|
||||
if (this.dryRun === false) {
|
||||
yield utilities_1.retryRequest(this.logger, () => __awaiter(this, void 0, void 0, function* () { return yield this.client.removeDir(absoluteFolderPath); }));
|
||||
|
Loading…
x
Reference in New Issue
Block a user