fix(project): restore remote project identity (#29495)
This commit is contained in:
parent
0e88dd99e7
commit
0f0a4be253
3 changed files with 116 additions and 12 deletions
|
|
@ -108,7 +108,7 @@ export const layer = Layer.effect(
|
|||
if (!repo) return { id: ID.global, directory: input, vcs: undefined }
|
||||
|
||||
const previous = yield* cached(repo.store)
|
||||
const id = previous ?? (yield* root(repo))
|
||||
const id = (yield* remote(repo)) ?? previous ?? (yield* root(repo))
|
||||
|
||||
return {
|
||||
previous,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue