From 53fb16db117f25733f6fae6d0a047fc36e79392a Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 5 Jun 2026 00:22:07 +0000 Subject: [PATCH] fix: split single-line try/catch to satisfy max-statements-per-line lint rule Co-Authored-By: mantra --- packages/local-config-updater/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/local-config-updater/src/index.ts b/packages/local-config-updater/src/index.ts index 9bce863ad..00ba3815c 100644 --- a/packages/local-config-updater/src/index.ts +++ b/packages/local-config-updater/src/index.ts @@ -101,7 +101,9 @@ function writeFileAtomic(configFilePath: string, content: string): void { try { renameSync(tempPath, configFilePath); } catch (error) { - try { rmSync(tempPath); } catch { /* best-effort cleanup */ } + try { + rmSync(tempPath); + } catch { /* best-effort cleanup */ } throw error; } }