mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
chore: Enable linting in scripts.
This commit is contained in:
@@ -44,7 +44,9 @@ function replaceBlockLines(
|
||||
];
|
||||
|
||||
const replacement = replacementLines.join("\n");
|
||||
if (!after) return `${before}${replacement}`;
|
||||
if (!after) {
|
||||
return `${before}${replacement}`;
|
||||
}
|
||||
return `${before}${replacement}\n${after}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user