3 ms·
Just the other day I was using the github_api gem to inspect Github repos via a Rake task. The instant I ran it, my screen filled up with the same output over a
by pjungwir 14y ago
Just the other day I was using the github_api gem to inspect Github repos via a Rake task. The instant I ran it, my screen filled up with the same output over and over. I couldn't kill the ps, and `ps -ef | grep rake` spilled hundreds of lines and never stopped. In a moment my machine was dead.
Turns out the problem was accessing `repo[:fork]`. That wasn't telling me whether the repo was original. (Oddly enough, repo.fork was safe.)