v0.10.1 and 0.8.23


On Thu, Jun 6, 2013 at 5:10 PM, Duncan Angus Wilkie <
notifications@github.com> wrote:

> In tests/tests.js:
>
> > @@ -350,7 +355,13 @@ async.waterfall(tests = [
> >                  }
> >
> >                  story = Object.prototype.toString.call(ret.story) === '[object Array]' ? ret.story : [ret.story];
> > -                console.log("Got project's stories!".green, ret.story.length);
> > +
> > +                if (ret.story) {
> > +                    console.log("Got project's stories!".green, ret.story.length);
> > +                }
> > +                else {
> > +                    console.log("No stories in project!".green, ret);
> > +                }
>
> What node version are you running?
> … <#13f1889d043b6abe_>
> On 6 Jun 2013, at 04:42, "Marc Trudel" <notifications@github.com> wrote:
> In tests/tests.js: > @@ -350,7 +355,13 @@ async.waterfall(tests = [ > } > >
> story = Object.prototype.toString.call(ret.story) === '[object Array]' ?
> ret.story : [ret.story]; > - console.log("Got project's stories!".green,
> ret.story.length); > + > + if (ret.story) { > + console.log("Got project's
> stories!".green, ret.story.length); > + } > + else { > + console.log("No
> stories in project!".green, ret); > + } Here, you probably want to return
> cb(); to avoid continuing with code. — Reply to this email directly or view
> it on GitHub.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/Wizcorp/node-pivotal/pull/16/files#r4562746>
> .
>



-- 
<http://www.wizcorp.jp/>Marc Trudel-Belisle
Chief Technology Officer | Wizcorp Inc. <http://www.wizcorp.jp/>
------------------------------
TECH . GAMING . OPEN-SOURCE WIZARDS+ 81
3-4550-1448|Website<http://www.wizcorp.jp/>
|Twitter <https://twitter.com/Wizcorp>|Facebook<http://www.facebook.com/Wizcorp>
|LinkedIn <http://www.linkedin.com/company/wizcorp>