Skip to content

Commit

Permalink
chore(ci): fixed contributors avatar rendering for CHANGELOG.md; (axi…
Browse files Browse the repository at this point in the history
  • Loading branch information
DigitalBrainJS authored Jan 31, 2023
1 parent 9957377 commit 9263473
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const getUserFromCommit = ((commitCache) => async (sha) => {
return commitCache[sha] = {
...data.commit.author,
...data.author,
avatar_url_sm: data.author.avatar_url ? data.author.avatar_url + '&s=16' : '',
avatar_url_sm: data.author.avatar_url ? data.author.avatar_url + '&s=18' : '',
};
} catch (err) {
return commitCache[sha] = null;
Expand Down
2 changes: 1 addition & 1 deletion templates/contributors.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{#each authors}}
{{#unless isBot}}
{{#if login}}
- {{#if avatar_url}}![avatar]({{avatar_url_sm}}){{/if}} [{{displayName}}]({{html_url}} "+{{insertions}}/-{{deletions}} ({{#each prs}}#{{this}} {{/each}})")
- {{#if avatar_url}}<img src="{{avatar_url_sm}}" alt="avatar" width="18"/>{{/if}} [{{displayName}}]({{html_url}} "+{{insertions}}/-{{deletions}} ({{#each prs}}#{{this}} {{/each}})")
{{else}}
- {{displayName}}
{{/if}}
Expand Down
4 changes: 2 additions & 2 deletions test/specs/__helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import _axios from '../../index.js';
window.axios = _axios;

// Jasmine config
jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
jasmine.getEnv().defaultTimeoutInterval = 20000;
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;
jasmine.getEnv().defaultTimeoutInterval = 60000;

// Get Ajax request using an increasing timeout to retry
window.getAjaxRequest = (function () {
Expand Down

0 comments on commit 9263473

Please sign in to comment.