Remove use of Bun.file (#14215)
This commit is contained in:
parent
0fcba68d4c
commit
02a9495063
44 changed files with 634 additions and 473 deletions
|
|
@ -412,7 +412,7 @@ async function getCustomThemes() {
|
|||
cwd: dir,
|
||||
})) {
|
||||
const name = path.basename(item, ".json")
|
||||
result[name] = await Bun.file(item).json()
|
||||
result[name] = await Filesystem.readJson(item)
|
||||
}
|
||||
}
|
||||
return result
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue