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

git-stats --authors fails with redirected output #192

Open
vogler opened this issue Sep 7, 2023 · 0 comments
Open

git-stats --authors fails with redirected output #192

vogler opened this issue Sep 7, 2023 · 0 comments

Comments

@vogler
Copy link

vogler commented Sep 7, 2023

Context:

Works: ROWS=50 COLUMNS=140 git-stats -g
Fails:

$ ROWS=50 COLUMNS=140 git-stats --authors
/usr/local/lib/node_modules/git-stats/node_modules/cli-graph/lib/index.js:63
    self.graph[settings.center.y][settings.center.x] = settings.marks.center;
                                                     ^

TypeError: Cannot set properties of undefined (setting 'NaN')
    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:633:95
    at /usr/local/lib/node_modules/git-stats/lib/index.js:565:17
    at LimitIt.<anonymous> (/usr/local/lib/node_modules/git-stats/node_modules/gry/lib/index.js:80:17)
    at /usr/local/lib/node_modules/git-stats/node_modules/limit-it/lib/index.js:138:20
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/git-stats/node_modules/exec-limiter/lib/index.js:119:13)
    at ChildProcess.emit (node:events:514:28)
    at maybeClose (node:internal/child_process:1105:16)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant