Skip to content

Commit

Permalink
Revert "test: throw an error"
Browse files Browse the repository at this point in the history
This reverts commit f7fdf25.
  • Loading branch information
JLHwung committed Nov 7, 2024
1 parent f7fdf25 commit 89937b0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion scripts/parse-blocks-scripts-properties.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ const parseBlocksScriptsProperties = function(type, version) {

const parseDerivedBinaryProperties = function(version) {
if (version === '3.1.1' || version === '3.1.0' || version === '3.0.1' || version === '3.0.0' || parseInt(version.split('.')[0], 10) < 3) {
throw new Error("Unexpected data");
// Unicode <= 3.1.1 does not provide derived-binary-properties,
// so we should derive Bidi_Mirrored from the UnicodeData
const source = utils.readDataFile(version, 'database');
Expand Down

0 comments on commit 89937b0

Please sign in to comment.