Bug:Fix file validation issue
[vnfsdk/refrepo.git] / vnfmarket / src / main / webapp / vnfmarket / node_modules / useragent / bin / update.js
1 #!/usr/bin/env node
2
3 'use strict';
4
5 /**
6  * Update our definition file.
7  */
8 require('../lib/update').update(function updating(err, data) {
9   if (err) {
10     console.error('Update unsuccessfull due to reasons');
11     console.log(err.message);
12     console.log(err.stack);
13
14     return;
15   }
16   console.log('Successfully fetched and generated new parsers from the internets.');
17 });