refactor(cli): remove unused imports and variables

Eliminates no-unused-vars warnings across the CLI package by dropping
dead type imports, unused destructured helpers, and simplifying try/catch
blocks whose caught errors and intermediate results were never read.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-04-23 17:26:59 -07:00
parent e490a8f35a
commit a1d66878fa
12 changed files with 18 additions and 28 deletions

View File

@@ -144,7 +144,7 @@ export function setupNativeResolution(): { success: boolean; nativeDir: string |
symlinkSync(fnDir, bunfsRoot);
bunfsSymlinkPath = bunfsRoot;
console.log("[fn-native-patch] Created /$bunfs/root symlink for native module resolution");
} catch (symlinkErr) {
} catch {
// Symlink creation failed (likely permission denied) - not fatal
// The terminal service will try alternative loading methods
console.log("[fn-native-patch] Could not create /$bunfs/root symlink (permissions), using fallback");