Take a look here:
|
if (lostRowGutter !== '0') { |
|
decl.cloneBefore({ |
|
prop: 'height', |
|
value: lgLogic.calcValue(lostRow, lostRowGutter, lostRowRounder, unit) |
|
}); |
|
} else { |
|
decl.cloneBefore({ |
|
prop: 'height', |
|
value: lgLogic.calcValue(lostRow, lostRowGutter, lostRowRounder, unit) |
|
}); |
|
} |
The same body is used in both the if and the else clause.
What is happening? Isn't that some kind of mistake?
Take a look here:
lost/lib/lost-row.js
Lines 83 to 93 in 9ebffd0
The same body is used in both the
ifand theelseclause.What is happening? Isn't that some kind of mistake?