Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to print git-stats --athors to file #149

Closed
Gurran opened this issue Apr 30, 2019 · 2 comments
Closed

Unable to print git-stats --athors to file #149

Gurran opened this issue Apr 30, 2019 · 2 comments

Comments

@Gurran
Copy link

Gurran commented Apr 30, 2019

Hi!

I want to somehow export the piechart generated from

git-stats --authors

When trying to pipe stdOut to file I get the following error:

Error Message
TypeError: Cannot set property 'NaN' of undefined
    at new CliGraph (/usr/local/lib/node_modules/git-stats/node_modules/cli-graph/lib/index.js:63:54)
    at new CliCircle (/usr/local/lib/node_modules/git-stats/node_modules/cli-circle/lib/index.js:35:18)
    at CliPie.toString (/usr/local/lib/node_modules/git-stats/node_modules/cli-pie/lib/index.js:170:18)
    at /usr/local/lib/node_modules/git-stats/lib/index.js:614:87
    at /usr/local/lib/node_modules/git-stats/lib/index.js:550:9
    at LimitIt. (/usr/local/lib/node_modules/git-stats/node_modules/gry/lib/index.js:85:17)
    at /usr/local/lib/node_modules/git-stats/node_modules/limit-it/lib/index.js:138:20
    at ChildProcess.exithandler (child_process.js:290:7)
    at ChildProcess.emit (events.js:193:13)
    at maybeClose (internal/child_process.js:999:16)

It seems like the output isn't characters but colors? How can I export this?

@Gurran
Copy link
Author

Gurran commented Jul 26, 2019

Is there any other way to export the data? I want to export the data to analyse, so I just need a CSV.

@IonicaBizau
Copy link
Owner

Duplicate of #114.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants