Fix deprected on('data') -> onData for node-pty

This commit is contained in:
Bryan Ashby 2020-10-15 20:56:31 -06:00
parent a2f1e28894
commit dd27a000a4
No known key found for this signature in database
GPG Key ID: B49EB437951D2542
2 changed files with 2 additions and 2 deletions

View File

@ -319,7 +319,7 @@ module.exports = class ArchiveUtil {
} }
let output = ''; let output = '';
proc.on('data', data => { proc.onData(data => {
// :TODO: hack for: execvp(3) failed.: No such file or directory // :TODO: hack for: execvp(3) failed.: No such file or directory
output += data; output += data;

View File

@ -426,7 +426,7 @@ exports.getModule = class TransferFileModule extends MenuModule {
} }
}); });
externalProc.on('data', data => { externalProc.onData(data => {
updateActivity(); updateActivity();
// needed for things like sz/rz // needed for things like sz/rz