mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 13:22:11 +01:00
Output process.argv
This commit is contained in:
parent
2ffae12ebb
commit
b8e211716e
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ var GitStats = require("../lib");
|
||||||
switch (process.argv[2]) {
|
switch (process.argv[2]) {
|
||||||
case "--record":
|
case "--record":
|
||||||
var data = process.argv[3].replace(/^\"|\"$/g, "");
|
var data = process.argv[3].replace(/^\"|\"$/g, "");
|
||||||
console.log(data);
|
console.log(process.argv);
|
||||||
try {
|
try {
|
||||||
data = JSON.parse(data);
|
data = JSON.parse(data);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue