This commit is contained in:
nagayaryu 2022-08-18 22:17:43 +09:00
parent d1c5ee5b8f
commit 6a17ed23ac

3
dist/index.js vendored
View File

@ -3167,6 +3167,9 @@ class FTPSyncProvider {
yield 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}"`);
yield this.client.cd("/home/adw21/www/tools/xxx/aaa/bbbb/ccc")
const curr = yield this.client.pwd();
this.logger.all(`move /curr "${curr}"`);
const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath; const absoluteFolderPath = "/" + (this.serverPath.startsWith("./") ? this.serverPath.replace("./", "") : this.serverPath) + folderPath;
this.logger.all(`removing folder "${absoluteFolderPath}"`); this.logger.all(`removing folder "${absoluteFolderPath}"`);
if (this.dryRun === false) { if (this.dryRun === false) {