in src/config-loader.ts [90:98]
async function parseConfigFile(file: string): Promise<any> {
try {
const data = (await fs.promises.readFile(file)).toString()
return JSON.parse(data)
} catch {
// Will throw a ParseError below
}
throw new ParseError(`Failed to parse: ${file}`)
}