提交 eb0f00a4 编写于 作者: S Sandeep Somavarapu

feedback

上级 df34abbd
......@@ -293,8 +293,10 @@ export class FileChangesEvent {
return false;
}
const checkForChangeType = !isUndefinedOrNull(type);
return this._changes.some(change => {
if (!isUndefinedOrNull(type) && change.type !== type) {
if (checkForChangeType && change.type !== type) {
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册