lost icon indicating copy to clipboard operation
lost copied to clipboard

The same body repeated in different condition branch

Open thexpand opened this issue 7 years ago • 1 comments

Take a look here: https://github.com/peterramsing/lost/blob/9ebffd08e1687e1c869f42a57185978fd3fff977/lib/lost-row.js#L83-L93

The same body is used in both the if and the else clause. What is happening? Isn't that some kind of mistake?

thexpand avatar Jun 26 '18 21:06 thexpand

That's probably something that was there before I refactored everything to use lgLogic. Now the logic handles that and this could go away. Nice catch!

peterramsing avatar Jun 27 '18 21:06 peterramsing