mirror of
https://github.com/danbulant/covid
synced 2026-06-19 06:31:12 +00:00
Fix typo
This commit is contained in:
parent
9d96e3222a
commit
9cb2443179
1 changed files with 3 additions and 2 deletions
|
|
@ -57,7 +57,8 @@ module.exports = async () => {
|
|||
pt++;
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!lines[i].children[u].children[0]) continue;
|
||||
|
||||
o[lang[pt]] = lines[i].children[u].children[0].data.trim();
|
||||
pt++;
|
||||
}
|
||||
|
|
@ -73,7 +74,7 @@ module.exports = async () => {
|
|||
death,
|
||||
recovered
|
||||
}
|
||||
out.contries = countries;
|
||||
out.countries = countries;
|
||||
|
||||
fs.writeFileSync(__dirname + "/cases.json", JSON.stringify(out));
|
||||
return out;
|
||||
|
|
|
|||
Loading…
Reference in a new issue