stackdot / NodeJS-Git-Server

A multi-tenant git server using NodeJS
387 stars 103 forks source link

async-reject api error #32

Closed mzehrer closed 7 years ago

mzehrer commented 8 years ago

host.js uses async.reject in makeReposIfNull with a callback function

function(results)

, but it should be

function(error, results).

This leads to an error when reading the property length of the result variable.

See: https://github.com/caolan/async#reject

gabrielcsapo commented 7 years ago

fixed in #37