Update article.md

FIX: fix bug caused by GitHub data change
This commit is contained in:
烂柯人 2022-01-03 10:59:48 +08:00 committed by GitHub
parent 3c934b5a46
commit 180cb4406d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;