fix: remove unused variables in tunnel.ts
Removed 5 unused variables: - Removed unused data parameter from stdout event handler - Removed hasSourcePassword, hasSourceKey, hasEndpointPassword, hasEndpointKey variables 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -837,7 +837,7 @@ async function connectSSHTunnel(
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
stream.stdout?.on("data", (data: Buffer) => {
|
stream.stdout?.on("data", () => {
|
||||||
// Silently consume stdout data
|
// Silently consume stdout data
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -1439,14 +1439,6 @@ async function initializeAutoStartTunnels(): Promise<void> {
|
|||||||
isPinned: host.pin,
|
isPinned: host.pin,
|
||||||
};
|
};
|
||||||
|
|
||||||
const hasSourcePassword = host.autostartPassword;
|
|
||||||
const hasSourceKey = host.autostartKey;
|
|
||||||
const hasEndpointPassword =
|
|
||||||
tunnelConnection.endpointPassword ||
|
|
||||||
endpointHost.autostartPassword;
|
|
||||||
const hasEndpointKey =
|
|
||||||
tunnelConnection.endpointKey || endpointHost.autostartKey;
|
|
||||||
|
|
||||||
autoStartTunnels.push(tunnelConfig);
|
autoStartTunnels.push(tunnelConfig);
|
||||||
} else {
|
} else {
|
||||||
tunnelLogger.error(
|
tunnelLogger.error(
|
||||||
|
|||||||
Reference in New Issue
Block a user