From 39d34b9678e2836c076c587ed15bcae88468f66a Mon Sep 17 00:00:00 2001 From: yiling Date: Thu, 11 Jun 2026 10:13:53 +0800 Subject: [PATCH] fix(lint): remove unused variable in extract-runtime-deps script --- scripts/extract-runtime-deps.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/extract-runtime-deps.ts b/scripts/extract-runtime-deps.ts index 98103545..6d34149e 100644 --- a/scripts/extract-runtime-deps.ts +++ b/scripts/extract-runtime-deps.ts @@ -20,7 +20,7 @@ const depsToExtract = [ function run(cmd: string) { try { return execSync(cmd, { encoding: 'utf-8', stdio: 'pipe' }); - } catch (e) { + } catch { console.error(`Command failed: ${cmd}`); return null; }