File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ async function generateBidiCharTypesData() {
16
16
const txt = await response . text ( )
17
17
const classMap = new Map ( )
18
18
txt . split ( '\n' ) . forEach ( line => {
19
- line . trim ( )
19
+ line = line . trim ( )
20
20
if ( ! line || line . startsWith ( '#' ) ) return
21
21
const match = line . match ( / ^ ( [ A - Z 0 - 9 . ] + ) \s * ; \s ( [ \w ] + ) * / )
22
22
if ( match ) {
@@ -86,7 +86,7 @@ async function generateBracketsData() {
86
86
let pairs = new Map ( )
87
87
let reversePairs = new Map ( )
88
88
txt . split ( '\n' ) . forEach ( line => {
89
- line . trim ( )
89
+ line = line . trim ( )
90
90
if ( ! line || line . startsWith ( '#' ) ) return
91
91
const match = line . match ( / ^ ( [ A - Z 0 - 9 . ] + ) \s * ; \s * ( [ A - Z 0 - 9 . ] + ) \s * ; \s * o / )
92
92
if ( match ) {
@@ -136,7 +136,7 @@ async function generateMirroringData() {
136
136
let pairs = new Map ( )
137
137
let reversePairs = new Map ( )
138
138
txt . split ( '\n' ) . forEach ( line => {
139
- line . trim ( )
139
+ line = line . trim ( )
140
140
if ( ! line || line . startsWith ( '#' ) ) return
141
141
const match = line . match ( / ^ ( [ A - Z 0 - 9 . ] + ) \s * ; \s * ( [ A - Z 0 - 9 . ] + ) \s * / )
142
142
if ( match ) {
You can’t perform that action at this time.
0 commit comments