mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
chore(scripts): fix type error (#16743)
* chore: fix type error * update build-table.ts Co-authored-by: btea <2356281422@qq.com> --------- Co-authored-by: btea <2356281422@qq.com>
This commit is contained in:
parent
bfe5b774f5
commit
d468b38494
@ -2,7 +2,7 @@ import fs from 'fs/promises'
|
||||
import path from 'path'
|
||||
|
||||
async function main() {
|
||||
const threshold = process.env.THRESHOLD || 40
|
||||
const threshold = Number(process.env.THRESHOLD) || 40
|
||||
let output: string
|
||||
const diffOutput = await fs.readFile(
|
||||
path.resolve(__dirname, '..', 'tmp/diff.txt'),
|
||||
|
Loading…
Reference in New Issue
Block a user