mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 11:31:23 +00:00
chore: Enable "curly" rule to avoid single-statement if confusion/errors.
This commit is contained in:
@@ -58,7 +58,9 @@ export async function startPluginServices(params: {
|
||||
return {
|
||||
stop: async () => {
|
||||
for (const entry of running.toReversed()) {
|
||||
if (!entry.stop) continue;
|
||||
if (!entry.stop) {
|
||||
continue;
|
||||
}
|
||||
try {
|
||||
await entry.stop();
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user