fix(docs): lot of misspelling (#1180) [skip ci]

This commit is contained in:
Josh Soref
2022-08-14 12:04:03 -04:00
committed by GitHub
parent e2f27e931d
commit ab85858528
59 changed files with 115 additions and 115 deletions

View File

@@ -33,7 +33,7 @@ export default async function({login, data, imports, rest, q, account}, {enabled
//Check if data are available
if (!Array.isArray(stats))
return
//Compute editions
//Compute changes
repos[handle] = {added: 0, deleted: 0, changed: 0}
const contributors = stats.filter(({author}) => context.mode === "repository" ? true : author?.login?.toLocaleLowerCase() === login.toLocaleLowerCase())
for (const contributor of contributors) {
@@ -42,7 +42,7 @@ export default async function({login, data, imports, rest, q, account}, {enabled
added += a
deleted += d
changed += c
//Compute editions per week
//Compute changes per week
const date = new Date(w * 1000).toISOString().substring(0, 10)
if (!weeks[date])
weeks[date] = {added: 0, deleted: 0, changed: 0}