Closed hesa closed 2 years ago
Oh well, that's just example code which probably will never be used anywhere (hopefully), but thanks for your attention to detail! :)
There’s also sponge
(part of MoreUtils; blog post about it), but >>
is probably enough in this case.
Great catch @hesa ! :+1:
Great catch @hesa ! 👍 @silverhook, you making fun of me? ;)
@hesa , not at all. It may be rookie mistake, but solutions to rookie mistakes are not rookie. And it could cause issues if someone simply copy-pasted from the example.
The second command wipes out the text from the first. Using ">>" concatenates the text instead.