-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: get settings from repo or workspace
This ensures that WorkspaceCommandHelper created for initialized/cloned repo refers to the settings object for that repo, not the settings loaded for the cwd repo. I also removed WorkspaceCommandEnvironment::settings() because it doesn't own a workspace object. It's implementation detail that the env object holds a copy of workspace.settings(), and the caller should be accessible to the workspace object.
- Loading branch information
Showing
2 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters