Fix error

This commit is contained in:
Jordan Pittman 2024-12-17 14:07:10 -05:00
parent 02faa1529e
commit 4f9f603e12

View file

@ -33,6 +33,8 @@ function lazyJiti() {
export function loadConfig(path: string): Config {
let config = (function () {
if (!path) return {}
// Always use jiti for now. There is a a bug that occurs in Node v22.12+
// where imported files return invalid results
return lazyJiti()(path)