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; } }