提交 4780fefc 编写于 作者: P Peng Lyu

fix infinite loop patch parsing.

上级 b95920f7
......@@ -184,6 +184,8 @@ async function parseModifiedHunkFast(modifyDiffInfo, a, b) {
right.push(diffLine.text);
}
}
diffHunkIter = diffHunkReader.next();
}
let contentPath = await writeTmpFile(right.join('\n'), path.extname(b));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册