Fix deprected on('data') -> onData for node-pty
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user