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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user