fix generate web-types.json bug (#5674)

set the wrong default value by parse md table error.
pull/5882/head
Airene Fang 2 years ago committed by GitHub
parent 2a3798e9b4
commit 6feda7be81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -25,7 +25,7 @@ function readLine(input: string) {
}
function splitTableLine(line: string) {
line = line.replace('\\|', 'JOIN');
line = line.replace(/\\\|/g, 'JOIN');
const items = line.split('|').map(item => item.trim().replace('JOIN', '|'));

Loading…
Cancel
Save