mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-19 18:07:58 +00:00
This commit is contained in:
@@ -52,7 +52,8 @@ export class EditSFTPContextMenu extends SFTPContextMenuItemProvider {
|
||||
if (!upload.length) {
|
||||
return
|
||||
}
|
||||
sftp.upload(item.fullPath, upload[0])
|
||||
await sftp.upload(item.fullPath, upload[0])
|
||||
await sftp.chmod(item.fullPath, item.mode)
|
||||
})).subscribe()
|
||||
watcher.on('close', () => events.complete())
|
||||
sftp.closed$.subscribe(() => watcher.close())
|
||||
|
Reference in New Issue
Block a user