diff --git a/dist/index.js b/dist/index.js index dfd7327..5594c99 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2354,7 +2354,7 @@ class FTPSyncProvider { } } // 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`); }); }