Update article.md
FIX: fix bug caused by GitHub data change
This commit is contained in:
parent
3c934b5a46
commit
180cb4406d
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ An example of use (shows commit authors in console):
|
||||||
|
|
||||||
for await (const commit of fetchCommits('javascript-tutorial/en.javascript.info')) {
|
for await (const commit of fetchCommits('javascript-tutorial/en.javascript.info')) {
|
||||||
|
|
||||||
console.log(commit.author.login);
|
console.log(commit.author.name);
|
||||||
|
|
||||||
if (++count == 100) { // let's stop at 100 commits
|
if (++count == 100) { // let's stop at 100 commits
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue