mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +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] = {
|
return commitCache[sha] = {
|
||||||
...data.commit.author,
|
...data.commit.author,
|
||||||
...data.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) {
|
} catch (err) {
|
||||||
return commitCache[sha] = null;
|
return commitCache[sha] = null;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{{#each authors}}
|
{{#each authors}}
|
||||||
{{#unless isBot}}
|
{{#unless isBot}}
|
||||||
{{#if login}}
|
{{#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}}
|
{{else}}
|
||||||
- {{displayName}}
|
- {{displayName}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ import _axios from '../../index.js';
|
|||||||
window.axios = _axios;
|
window.axios = _axios;
|
||||||
|
|
||||||
// Jasmine config
|
// Jasmine config
|
||||||
jasmine.DEFAULT_TIMEOUT_INTERVAL = 20000;
|
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;
|
||||||
jasmine.getEnv().defaultTimeoutInterval = 20000;
|
jasmine.getEnv().defaultTimeoutInterval = 60000;
|
||||||
|
|
||||||
// Get Ajax request using an increasing timeout to retry
|
// Get Ajax request using an increasing timeout to retry
|
||||||
window.getAjaxRequest = (function () {
|
window.getAjaxRequest = (function () {
|
||||||
|
|||||||
Reference in New Issue
Block a user