2
0
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:
Dmitriy Mozgovoy
2023-01-31 17:56:09 +02:00
committed by GitHub
parent 9957377260
commit 9263473154
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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}}
+2 -2
View File
@@ -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 () {