mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-15 06:25:05 +00:00
fix
This commit is contained in:
parent
7d4728548e
commit
d1c5ee5b8f
4
dist/index.js
vendored
4
dist/index.js
vendored
@ -3161,10 +3161,10 @@ class FTPSyncProvider {
|
|||||||
}
|
}
|
||||||
removeFolder(folderPath) {
|
removeFolder(folderPath) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
await this.client.cd("/");
|
yield this.client.cd("/");
|
||||||
const root = yield this.client.pwd();
|
const root = yield this.client.pwd();
|
||||||
this.logger.all(`move / "${root}"`);
|
this.logger.all(`move / "${root}"`);
|
||||||
await this.client.cd("/home");
|
yield this.client.cd("/home");
|
||||||
const home = yield this.client.pwd();
|
const home = yield this.client.pwd();
|
||||||
this.logger.all(`move /home "${home}"`);
|
this.logger.all(`move /home "${home}"`);
|
||||||
const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath;
|
const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user