fix: Address review comments

This commit is contained in:
gsxdsm
2026-02-18 19:52:25 -08:00
parent 4ba0026aa1
commit 4ee160fae4
16 changed files with 184 additions and 35 deletions

View File

@@ -298,7 +298,7 @@ export function createWorktreeRoutes(
// Stage/unstage files route
router.post(
'/stage-files',
validatePathParams('worktreePath'),
validatePathParams('worktreePath', 'files[]'),
requireGitRepoOnly,
createStageFilesHandler()
);