mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: 优化错误信息显示
This commit is contained in:
1 parent
10a1de0741
commit
4d6efdc37f
4 files changed
+9
-27
No files matched your search
@@ -42,7 +42,7 @@ if (cluster.isMaster) {
|
||||
});
|
||||
if (process.env.NODE_ENV !== 'test') {
|
||||
process.stdin.setEncoding('utf-8');
|
||||
process.stdin.setRawMode(false);
|
||||
if (process.stdin.setRawMode) process.stdin.setRawMode(false);
|
||||
process.stdin.on('data', (buf) => {
|
||||
const input = buf.toString();
|
||||
if (input[0] === '@') {
|
||||
|
||||
Reference in new issue
Block a user