Yeah, I get that this is kind of amusing. But having been in the junior dev's shoes, this isn't fun. Everyone breaks the build once in a while. Have a good laugh, update your git hooks/linter, and let it go.
I tend to think that at some point your friend will break the build. When that happens, those junior devs may not say anything, but they'll remember that when they made the same mistake, he made them feel small.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A friend of mine acts all pissed off in front of juniors because someone pushed code with breakpoints on, so the build is all blocked.
After that he pairs with them just to see them remove breakpoints prior to pushing their code.
Kinda cruel, but funny at the same time.
Yeah, I get that this is kind of amusing. But having been in the junior dev's shoes, this isn't fun. Everyone breaks the build once in a while. Have a good laugh, update your git hooks/linter, and let it go.
I tend to think that at some point your friend will break the build. When that happens, those junior devs may not say anything, but they'll remember that when they made the same mistake, he made them feel small.