@doc-han stumbled across a huge issue in the Workspace class.
getActiveProject should really be something like getTrackedProject, because it returns the project.yaml representation of the checked out project, not what's on the filesystem.
Workspace already exposes getCheckedOutProject, which is fine
We need to:
- Rename the function
- Check all uses of the function and check whether they should use
getCheckedOutProject instead (the checkout CLI stuff certainly does)
@doc-han stumbled across a huge issue in the Workspace class.
getActiveProjectshould really be something likegetTrackedProject, because it returns the project.yaml representation of the checked out project, not what's on the filesystem.Workspace already exposes
getCheckedOutProject, which is fineWe need to:
getCheckedOutProjectinstead (the checkout CLI stuff certainly does)