Skip to content

Commit

Permalink
improve matches method
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Jul 18, 2022
1 parent abe9324 commit 972decd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ export class MergeEditorInput extends AbstractTextResourceEditorInput implements
&& isEqual(this.result, otherInput.result);
}
if (isResourceMergeEditorInput(otherInput)) {
return isEqual(this.base, otherInput.base.resource)
return this.editorId === otherInput.options?.override
&& isEqual(this.base, otherInput.base.resource)
&& isEqual(this.input1.uri, otherInput.input1.resource)
&& isEqual(this.input2.uri, otherInput.input2.resource)
&& isEqual(this.result, otherInput.result.resource);
Expand Down

0 comments on commit 972decd

Please sign in to comment.