Fix deprected on('data') -> onData for node-pty
This commit is contained in:
parent
a2f1e28894
commit
dd27a000a4
|
@ -319,7 +319,7 @@ module.exports = class ArchiveUtil {
|
|||
}
|
||||
|
||||
let output = '';
|
||||
proc.on('data', data => {
|
||||
proc.onData(data => {
|
||||
// :TODO: hack for: execvp(3) failed.: No such file or directory
|
||||
|
||||
output += data;
|
||||
|
|
|
@ -426,7 +426,7 @@ exports.getModule = class TransferFileModule extends MenuModule {
|
|||
}
|
||||
});
|
||||
|
||||
externalProc.on('data', data => {
|
||||
externalProc.onData(data => {
|
||||
updateActivity();
|
||||
|
||||
// needed for things like sz/rz
|
||||
|
|
Loading…
Reference in New Issue