mirror of
https://github.com/tenrok/axios.git
synced 2026-05-15 11:59:42 +03:00
chore(ci): fixed contributors avatar rendering for CHANGELOG.md; (#5514)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{{#each authors}}
|
||||
{{#unless isBot}}
|
||||
{{#if login}}
|
||||
- {{#if avatar_url}}{{/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}}
|
||||
|
||||
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user