mirror of
https://github.com/IonicaBizau/git-stats.git
synced 2024-12-22 21:32:10 +01:00
Replace quotes at the start and end.
This commit is contained in:
parent
6f37940dd3
commit
2ffae12ebb
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ var GitStats = require("../lib");
|
|||
|
||||
switch (process.argv[2]) {
|
||||
case "--record":
|
||||
var data = process.argv[3];
|
||||
var data = process.argv[3].replace(/^\"|\"$/g, "");
|
||||
console.log(data);
|
||||
try {
|
||||
data = JSON.parse(data);
|
||||
|
|
Loading…
Reference in a new issue