Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (18 sloc) 0.445 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#!/usr/bin/env node

require('../lib/jitsu/completion');

var jitsu = require('../lib/jitsu');

jitsu.start(function (err) {
  if (!err) {
    jitsu.log.info('Nodejitsu'.grey + ' ok'.green.bold);
  }

  process.stdout.on('drain', function () {
    process.exit(err ? 1 : 0);
  })

  function onexit (code, status) {
    if (err) {
      process.removeListener('exit', onexit);
      process.exit(1);
    }
  }

  process.on('exit', onexit);
});
Something went wrong with that request. Please try again.