Skip to content

Commit

Permalink
server: best-effort allow older clients to write to shell (#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 authored Oct 31, 2023
1 parent 933c731 commit 96d292d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export class ScryptedRuntime extends PluginHttp<HttpPluginData> {
} catch (e) {
// we should only get here if an outdated core plugin
// is sending us string data instead of buffer data
console.log(e);
cp.write(message.toString());
}
});
connection.on('close', () => cp.kill());
Expand Down

0 comments on commit 96d292d

Please sign in to comment.