I have released version 0.6.0


On Thu, Apr 24, 2014 at 1:47 PM, Xavier Spriet <notifications@github.com>wrote:

> In Cakefile:
>
> > @@ -13,7 +13,7 @@ _runCmd = (prev, current) ->
> >        child.on 'error', reject
> >
> >        child.on 'exit', (code) ->
> > -        if code? then resolve() else reject()
> > +        if (code or 0) is 0 then resolve() else reject()
>
> Not the same thing. Original test was based on node's child_process docs,
> which implies that code should be null on error, or the exit code
> otherwise, so an exit code of 1 was incorrectly considered successful.
>
> Come to think of it, we should probably change this to if code is 0 then
> resolve() else reject(). I can do a PR for that if you'd like.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/sgentle/phantomjs-node/pull/161/files#r11971467>
> .
>