mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 14:44:57 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -14,7 +14,9 @@ export async function copyToClipboard(value: string): Promise<boolean> {
|
||||
timeoutMs: 3_000,
|
||||
input: value,
|
||||
});
|
||||
if (result.code === 0 && !result.killed) return true;
|
||||
if (result.code === 0 && !result.killed) {
|
||||
return true;
|
||||
}
|
||||
} catch {
|
||||
// keep trying the next fallback
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user