Skip to content

git-stats-html cannot read raw data if git-stats specifies -g #105

@cmal

Description

@cmal
1246 ± : git-stats -s '1 January 2012' -u '18 November 2016' -g --raw|git-stats-html -o out.html --big                                                                                                                                                              [22h7m] ✖ ✹
/usr/local/lib/node_modules/.git-stats-html_npminstall/node_modules/.1.0.1@git-stats-html/lib/index.js:26
    json.levels.forEach(function (c, weekIndex) {
               ^

TypeError: Cannot read property 'forEach' of undefined
    at gitStatsHtml (/usr/local/lib/node_modules/.git-stats-html_npminstall/node_modules/.1.0.1@git-stats-html/lib/index.js:26:16)
    at Tilda.main.action (/usr/local/lib/node_modules/.git-stats-html_npminstall/node_modules/.1.0.1@git-stats-html/bin/git-stats-html:35:5)
    at emitOne (events.js:96:13)
    at Tilda.emit (events.js:188:7)
    at Tilda.parse (/usr/local/lib/node_modules/.git-stats-html_npminstall/node_modules/.4.4.2@tilda/lib/index.js:575:18)
    at Socket.<anonymous> (/usr/local/lib/node_modules/.git-stats-html_npminstall/node_modules/.4.4.2@tilda/lib/index.js:330:28)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)

Sorry I'm not quite understand what global-activity means. 😄

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions