Skip to content

Commit 8c5d077

Browse files
committed
multiple-srcs: return calculatedProduction at production getter
1 parent 744a4a1 commit 8c5d077

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/multiple-sources/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export class ProductionPlan {
99

1010
get production() {
1111
assert(this._productionAccumulator === this.calculatedProduction);
12-
return this._initialProduction + this._productionAccumulator;
12+
return this._initialProduction + this.calculatedProduction;
1313
}
1414

1515
get calculatedProduction() {

0 commit comments

Comments
 (0)