We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93ec73 commit 73b3ed1Copy full SHA for 73b3ed1
tools/broccoli/diffing-broccoli-plugin.ts
@@ -75,12 +75,9 @@ class DiffingPluginWrapper implements BroccoliTree {
75
// inputTree's rebuild() method, and can be used without being checked.
76
// Set `this.diffResult` to null and return the previously stored value.
77
let diffResult = tree.diffResult;
78
- tree.diffResult = null;
79
- if (!diffResult) {
80
- let differ = index === false ? this.treeDiffer : this.treeDiffers[index];
81
- diffResult = differ.diffTree();
82
- }
83
- return diffResult;
+ if (diffResult) return diffResult;
+ let differ = index === false ? this.treeDiffer : this.treeDiffers[index];
+ return differ.diffTree();
84
};
85
86
if (this.inputTrees) {
0 commit comments