fix: resolve lint errors for CI

- Remove unused 'startup' parameter in useIpcEvents onActivateWorktree
- Compact attach-main-window-services to stay within max-lines limit

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Jinwoo-H
2026-04-30 18:03:54 -04:00
co-authored by Orca
parent e6f9cdc90b
commit f810725033
+1 -1
View File
@@ -169,7 +169,7 @@ export function useIpcEvents(): void {
)
unsubs.push(
window.api.ui.onActivateWorktree(({ repoId, worktreeId, setup, startup }) => {
window.api.ui.onActivateWorktree(({ repoId, worktreeId, setup }) => {
void (async () => {
// Why: fetch worktrees first so the activation helper can resolve
// the CLI-created worktree via findWorktreeById — it arrived from