Skip to content

No image should be generated if the utility cannot found anything useful to draw #4

@brlin-tw

Description

@brlin-tw

Currently, a commit_image_author.png file with 1x1px dimension will be generated even with an output like this:

Collecting commit dates for repo: .
Found commits in years: []
Commit counts per year: []
No commits found!

The file(1) output of the outputted image file:

$ file commit_image_null.png 
commit_image_null.png: PNG image data, 1 x 1, 8-bit/color RGBA, non-interlaced

It should not produce any images if nothing useful to draw is found.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions