This commit is contained in:
nagayaryu 2022-08-18 21:39:56 +09:00
parent d0aa838726
commit 507423787f

10
dist/index.js vendored
View File

@ -4149,11 +4149,11 @@ class Client {
async removeDir(remoteDirPath) {
return this._exitAtCurrentDirectory(async () => {
await this.cd(remoteDirPath);
await this.clearWorkingDir();
if (remoteDirPath !== "/") {
await this.cdup();
await this.removeEmptyDir(remoteDirPath);
}
// await this.clearWorkingDir();
// if (remoteDirPath !== "/") {
// await this.cdup();
// await this.removeEmptyDir(remoteDirPath);
// }
});
}
/**