Skip to content

Commit

Permalink
fix(common): fix schema fixer 🙀
Browse files Browse the repository at this point in the history
- keyboardTest3 didn't get a fix that had applied to keyboard[3]
- regenerate using the exact same CLDR

Fixes: #9683
  • Loading branch information
srl295 committed Oct 9, 2023
1 parent 6b4497b commit 900fb7d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sha": "2aa2275158c29e8e41c7f0b67c8fb786a453b89c",
"description": "release-44-alpha3-14-g2aa2275158",
"date": "Thu, 28 Sep 2023 17:49:50 +0000"
"date": "Mon, 09 Oct 2023 19:18:13 +0000"
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ if (data.title.endsWith('ldmlKeyboard3.xsd')) {
}
}

if (data.title.endsWith('ldmlKeyboardTest3.xsd')) {
if (data?.properties?.keyboardTest3) {
data.properties.keyboardTest3.type = 'object';
}
}

// Write stuff
const outstr = JSON.stringify(data, null, " ");
writeFileSync(argv[2] || 1, outstr, "utf-8");
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,8 @@
"required": [
"info",
"conformsTo"
]
],
"type": "object"
}
},
"required": [
Expand Down

0 comments on commit 900fb7d

Please sign in to comment.