mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-15 06:25:05 +00:00
don't go back too far after deleting folder
This commit is contained in:
parent
65c6a8f943
commit
4868557dfb
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -2314,7 +2314,7 @@ class FTPSyncProvider {
|
|||||||
yield ensureDir(this.client, this.logger, this.timings, path.folders.join("/"));
|
yield ensureDir(this.client, this.logger, this.timings, path.folders.join("/"));
|
||||||
}
|
}
|
||||||
// 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`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user