Skip to content

Commit

Permalink
Regenerate
Browse files Browse the repository at this point in the history
Add Faifi (`fif`), remove Thudam (`thw`)
  • Loading branch information
wooorm committed Oct 13, 2020
1 parent ebe882e commit bc81bf3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
12 changes: 5 additions & 7 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ var types = {
// You can find download links here:
// <https://iso639-3.sil.org/code_tables/download_tables>
// Just get the complete code tables in UTF-8.
var url =
'https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3_Code_Tables_20200515.zip'
var expectedName = 'iso-639-3_20200515.tab'

https
.request(
'https://iso639-3.sil.org/sites/iso639-3/files/downloads/iso-639-3_Code_Tables_20200130.zip',
onrequest
)
.end()
https.request(url, onrequest).end()

function onrequest(request) {
request
Expand All @@ -60,7 +58,7 @@ function onopen(err, archive) {
function onentry(entry) {
var name = path.basename(entry.fileName)

if (name !== 'iso-639-3_20200130.tab') {
if (name !== expectedName) {
other.push(name)
return read()
}
Expand Down
12 changes: 6 additions & 6 deletions index.json
Original file line number Diff line number Diff line change
Expand Up @@ -11718,6 +11718,12 @@
"scope": "individual",
"iso6393": "fie"
},
{
"name": "Faifi",
"type": "living",
"scope": "individual",
"iso6393": "fif"
},
{
"name": "Fijian",
"type": "living",
Expand Down Expand Up @@ -38899,12 +38905,6 @@
"scope": "individual",
"iso6393": "thv"
},
{
"name": "Thudam",
"type": "living",
"scope": "individual",
"iso6393": "thw"
},
{
"name": "Tha",
"type": "living",
Expand Down

0 comments on commit bc81bf3

Please sign in to comment.