Skip to content

Commit

Permalink
Insert spaces to command line output for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalman committed Jun 2, 2024
1 parent 150d3c6 commit 5a8ce35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script/cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node

const UAParser = require('ua-parser-js');
console.log(JSON.stringify(process.argv.slice(2).map(ua => UAParser(ua))));
console.log(JSON.stringify(process.argv.slice(2).map(ua => UAParser(ua)), null, 4));

0 comments on commit 5a8ce35

Please sign in to comment.