mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 09:00:42 +00:00
fix: remove agent config lint suppression
This commit is contained in:
@@ -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[] {
|
||||
|
||||
Reference in New Issue
Block a user