this is fine, \n's always included in the next results. Putting additional
ones here leaves too big a gap between outputs.


On 27 May 2014 09:39, Martin Murphy <notifications@github.com> wrote:

> In lib/projects.js:
>
> > @@ -145,7 +145,14 @@ function cloneProject(projectId, cb) {
> >      function doClone(app, cb1) {
> >        clone([projectId, app.guid], cb1);
> >      }
> > -    async.mapSeries(apps.list, doClone, cb);
> > +    async.mapSeries(apps.list, doClone, function(err, results) {
> > +      if (err) return cb(err);
> > +      projects.message = '';
> > +      _.each(results, function(result) {
> > +        projects.message += result.stdout + '\n' + result.stderr;
>
> Does this need a '\n' at the end, since the next result.stdout will be
> appended?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/feedhenry/fh-fhc/pull/86/files#r13067199>
> .
>

-- 
*******************************************************************************************
This email message is from FeedHenry Ltd. The email and any files 
transmitted
with it are confidential and may also be privileged and intended solely for 
the
use of the individual or entity to whom they are addressed. Any unauthorized
direct or indirect dissemination, distribution or copying of this message 
and
any attachments is strictly prohibited. If you have received the email in 
error
please notify postmaster@feedhenry.com.

FeedHenry Ltd., Cleaboy Business Park,Waterford, Ireland.
Registered in Ireland as Company Reg. Number: 458931 www.feedhenry.com

********************************************************************************************