Merge pull request #2810 from lankerened/master

Update article.md
This commit is contained in:
Ilya Kantor 2022-01-21 13:53:08 +03:00 committed by GitHub
commit d5f1b4afcf
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;