feat: add CentOS7 single executable build
This commit is contained in:
@@ -306,9 +306,7 @@ async function handleRequest(message) {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { TOOLS };
|
||||
|
||||
if (require.main === module) {
|
||||
function runStdioServer() {
|
||||
let lineBuffer = '';
|
||||
|
||||
process.stdin.setEncoding('utf8');
|
||||
@@ -334,3 +332,9 @@ if (require.main === module) {
|
||||
process.exit(0);
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = { TOOLS, runStdioServer };
|
||||
|
||||
if (require.main === module) {
|
||||
runStdioServer();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user