mirror of
https://github.com/stablyai/orca.git
synced 2026-10-22 00:03:47 +00:00
fix: qualify ssh fallback worktree paths (#7764)
This commit is contained in:
@@ -4677,7 +4677,7 @@ describe('OrcaRuntimeService', () => {
|
||||
vi.mocked(listWorktrees).mockClear()
|
||||
vi.mocked(addWorktree).mockClear()
|
||||
const created = {
|
||||
path: '/remote/mobile-feature',
|
||||
path: '/remote/repo-mobile-feature',
|
||||
head: 'def',
|
||||
branch: 'refs/heads/mobile-feature',
|
||||
isBare: false,
|
||||
@@ -4740,7 +4740,7 @@ describe('OrcaRuntimeService', () => {
|
||||
expect(provider.addWorktree).toHaveBeenCalledWith(
|
||||
'/remote/repo',
|
||||
'mobile-feature',
|
||||
'/remote/mobile-feature',
|
||||
'/remote/repo-mobile-feature',
|
||||
{ base: 'origin/main' }
|
||||
)
|
||||
expect(result.worktree).toMatchObject({
|
||||
|
||||
Reference in New Issue
Block a user