提交 88ac1012 编写于 作者: P Peng Lyu

deleted lines should be ignored.

上级 300756d0
......@@ -32,6 +32,8 @@ async function parseModifiedHunkComplete(originalContent, patch, a, b) {
right.push(left[j - 1]);
}
lastCommonLine = oriStartLine + oriEndLine - 1;
} else if (/^\-/.test(line)) {
// do nothing
} else if (/^\+/.test(line)) {
right.push(line.substr(1));
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册