From a490f472bae231dd975f642fe1bae9896f16208b Mon Sep 17 00:00:00 2001 From: lin onetwo Date: Mon, 10 Nov 2025 01:23:52 +0800 Subject: [PATCH] fix: lint --- features/stepDefinitions/wiki.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/features/stepDefinitions/wiki.ts b/features/stepDefinitions/wiki.ts index 1f71afd9..511f3829 100644 --- a/features/stepDefinitions/wiki.ts +++ b/features/stepDefinitions/wiki.ts @@ -97,9 +97,9 @@ When('I cleanup test wiki so it could create a new one on start', async function }, }, ); - } catch (_error) { + } catch (error) { // If file is corrupted or all retries failed, create empty settings - console.warn('Settings file is corrupted or failed to read after retries, recreating with empty workspaces'); + console.warn('Settings file is corrupted or failed to read after retries, recreating with empty workspaces', error); settings = { workspaces: {} }; } @@ -129,8 +129,8 @@ When('I cleanup test wiki so it could create a new one on start', async function }, }, ); - } catch (_error) { - console.error('Failed to write settings.json after 3 attempts, continuing anyway'); + } catch (error) { + console.error('Failed to write settings.json after 3 attempts, continuing anyway', error); } });