mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 07:57:39 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -178,7 +178,7 @@ export function parseConfigJson5(
|
||||
json5: { parse: (value: string) => unknown } = JSON5,
|
||||
): ParseConfigJson5Result {
|
||||
try {
|
||||
return { ok: true, parsed: json5.parse(raw) as unknown };
|
||||
return { ok: true, parsed: json5.parse(raw) };
|
||||
} catch (err) {
|
||||
return { ok: false, error: String(err) };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user