refactor(core): skip redundant worktree lookup (#39692)
This commit is contained in:
parent
dcb0df4ac1
commit
bd132f2614
2 changed files with 8 additions and 6 deletions
|
|
@ -143,6 +143,7 @@ describe("Project.resolve", () => {
|
|||
|
||||
expect(result.id).toBe(Project.ID.make(yield* Effect.promise(() => rootCommit(tmp.path))))
|
||||
expect(result.directory).toBe(yield* real(tmp.path))
|
||||
expect(result.canonical).toBe(result.directory)
|
||||
expect(result.previous).toBeUndefined()
|
||||
expect(result.vcs?.type).toBe("git")
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue