don't go back too far after deleting folder

This commit is contained in:
atsushi nakagawa 2021-10-19 17:23:25 +09:00
parent 65c6a8f943
commit 2cd65b92b3

2
dist/index.js vendored
View File

@ -2354,7 +2354,7 @@ class FTPSyncProvider {
} }
} }
// navigate back to the root folder // navigate back to the root folder
yield this.upDir((_a = path.folders) === null || _a === void 0 ? void 0 : _a.length); yield this.upDir((_a = path.folders) === null || _a === void 0 ? void 0 : _a.length - 1);
this.logger.verbose(` completed`); this.logger.verbose(` completed`);
}); });
} }