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

Fix commit icon for undefined author #626

Merged
merged 3 commits into from
Jul 1, 2019

Conversation

dbausch
Copy link
Contributor

@dbausch dbausch commented Jun 29, 2019

If a commit has no author defined, getCommitIcon would finally crash
at creating the md5 of undefined. With this patch the non-gravatar
default icon is used instead, for commits with an undefined author.

If a commit has no author defined, getCommitIcon would finally crash
at creating the md5 of undefined.  With this patch the non-gravatar
default icon is used instead, for commits with an undefined author.
@codecov
Copy link

codecov bot commented Jun 29, 2019

Codecov Report

Merging #626 into master will decrease coverage by 0.17%.
The diff coverage is 50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #626      +/-   ##
==========================================
- Coverage   57.12%   56.95%   -0.18%     
==========================================
  Files         117      117              
  Lines        4397     4398       +1     
  Branches      646      635      -11     
==========================================
- Hits         2512     2505       -7     
- Misses       1653     1659       +6     
- Partials      232      234       +2
Impacted Files Coverage Δ
src/historyView/common.ts 32.85% <50%> (-0.24%) ⬇️
src/commands/command.ts 50% <0%> (-1.5%) ⬇️
src/model.ts 60.25% <0%> (-0.84%) ⬇️
src/repository.ts 60.13% <0%> (-0.44%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4d45079...be242ef. Read the comment docs.

@JohnstonCode JohnstonCode self-requested a review July 1, 2019 07:57
Copy link
Owner

@JohnstonCode JohnstonCode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Daniel

@JohnstonCode JohnstonCode merged commit 85c07e4 into JohnstonCode:master Jul 1, 2019
JohnstonCode added a commit that referenced this pull request Jul 1, 2019
## [1.54.3](v1.54.2...v1.54.3) (2019-07-01)

### Bug Fixes

* Commit icon for undefined author ([#626](#626)) ([85c07e4](85c07e4))
@JohnstonCode
Copy link
Owner

🎉 This PR is included in version 1.54.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

2 participants