diff --git a/app/controllers/noms.js b/app/controllers/noms.js index e43680e..45810d8 100644 --- a/app/controllers/noms.js +++ b/app/controllers/noms.js @@ -24,8 +24,10 @@ noms.get = function (login, cb) { stream.pipe(transform) transform.on('data', function (line) { ex = line.split(':') + console.log(line) if (ex[0] == login) { // Si trouvé found = true + stream.close() cb(ex[4]) } }) -- libgit2 0.21.2