mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
chore(ci): improved logging; (#5451)
This commit is contained in:
@@ -39,6 +39,8 @@ const getUserInfo = ((userCache) => async (userEntry) => {
|
||||
return userCache[email];
|
||||
}
|
||||
|
||||
console.log(`fetch github user info [${userEntry.name}]`);
|
||||
|
||||
return userCache[email] = {
|
||||
...userEntry,
|
||||
...await getUserFromCommit(commits[0])
|
||||
|
||||
@@ -30,13 +30,17 @@ const injectContributors = async (infile, injector) => {
|
||||
|
||||
if(currentTag) {
|
||||
if (hasContributorsSection) {
|
||||
console.log(`[${currentTag}]: found contribution section`);
|
||||
console.log(`[${currentTag}]: ✓ OK`);
|
||||
} else {
|
||||
console.log(`[${currentTag}]: ❌ MISSED`);
|
||||
console.log(`Generating contributors list...`);
|
||||
|
||||
const section = await injector(currentTag);
|
||||
|
||||
console.log(`[${currentTag}]: contribution section not found. Adding...`);
|
||||
|
||||
console.log(`\nRENDERED CONTRIBUTORS LIST [${currentTag}]:`);
|
||||
console.log('-------------BEGIN--------------\n');
|
||||
console.log(section);
|
||||
console.log('--------------END---------------\n');
|
||||
|
||||
return section + match;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user