提交 618e3806 编写于 作者: J Joao Moreno

fix missing reference

上级 0780acee
......@@ -1017,12 +1017,12 @@ export class Repository {
const onStdoutData = (raw: string) => {
parser.update(raw);
if (parser.status.length > 5000) {
if (parser.status.length > limit) {
child.removeListener('exit', onExit);
child.stdout.removeListener('data', onStdoutData);
child.kill();
c({ status: parser.status.slice(0, 5000), didHitLimit: true });
c({ status: parser.status.slice(0, limit), didHitLimit: true });
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册