You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemmionic5/Mohem/node_modules_/useragent/bin/update.js

18 lines
373 B
JavaScript

#!/usr/bin/env node
'use strict';
/**
* Update our definition file.
*/
require('../lib/update').update(function updating(err, data) {
if (err) {
console.error('Update unsuccessfull due to reasons');
console.log(err.message);
console.log(err.stack);
return;
}
console.log('Successfully fetched and generated new parsers from the internets.');
});