Files
Ceras/themes/ceras/node_modules/useragent/bin/update.js
T
2023-07-12 16:31:19 +01:00

18 lines
373 B
JavaScript
Executable File

#!/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.');
});