Remove use of Bun.file (#14215)

This commit is contained in:
Dax 2026-02-19 11:32:32 -05:00 committed by GitHub
commit 02a9495063
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
44 changed files with 634 additions and 473 deletions

View file

@ -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