robert-chiniquy/depends-on — pull request #4 by jirwin (2014-11-05 00:20:23+00:00)
Title: fix(wait on exit code): Properly exit when waiting for a zero exit code

Currently we are checking for the truthiness of `child.exitCode` or checking if the timeout has elapsed before continuing on. This doesn't work when waiting for an exit code of 0.