DEV Community

Discussion on: What mistake did you make last week?

Collapse
 
ben profile image
Ben Halpern

Git standup is great for this πŸ˜„

I made the mistake last week of making an adjustment to some of the JavaScript in DEV Connect, and then deciding not to go in that direction, but accidentally committing some of those changes in a PR anyway.

Because I had thought I didn't make the changes, I figured it was safe to push once tests passed rather than wait for a review. This change didn't break tests, but it did cause some edge case bugs.

It was a lesson in being more careful and not making too many assumptions.