 
 queue.drain = ->
   mongoose.connection.close()
-  console.log 'done!'
+  console.log 'done'

require 'colors'
env = require '../config/env'
mongoose = require('../models')(env.mongo_url)
require('../lib/mongo-log')(mongoose.mongo)
spawn = require('child_process').spawn
async = require 'async'
request = require 'request'

      createRepo.stdout.on 'data', (s) -> console.log s.toString()
      createRepo.on 'exit', -> next()
  ], next
, 5 # workers

Team.find { slug: 'fortnight-labs' }, (err, teams) ->
  throw err if err
