update.js 373 B

1234567891011121314151617
  1. #!/usr/bin/env node
  2. 'use strict';
  3. /**
  4. * Update our definition file.
  5. */
  6. require('../lib/update').update(function updating(err, data) {
  7. if (err) {
  8. console.error('Update unsuccessfull due to reasons');
  9. console.log(err.message);
  10. console.log(err.stack);
  11. return;
  12. }
  13. console.log('Successfully fetched and generated new parsers from the internets.');
  14. });