fix: remove agent config lint suppression

This commit is contained in:
Peter Steinberger
2026-04-13 13:57:10 -07:00
parent d4f556a052
commit 311bc842b8

View File

@@ -42,8 +42,7 @@ function getLog(): ReturnType<typeof createSubsystemLogger> {
/** Strip null bytes from paths to prevent ENOTDIR errors. */
function stripNullBytes(s: string): string {
// eslint-disable-next-line no-control-regex
return s.replace(/\0/g, "");
return s.replaceAll("\0", "");
}
export function listAgentEntries(cfg: OpenClawConfig): AgentEntry[] {