Skip to content

Commit

Permalink
Fix state yaml location
Browse files Browse the repository at this point in the history
  • Loading branch information
navrocky committed Apr 24, 2024
1 parent fe62b89 commit 02ce718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ int main(int argc, char** argv)
auto yamlState = make_shared<YamlConfig>(format("{}/.local/share/dcw/state.yml", home));

auto workspacesRepo = make_shared<YamlWorkspacesRepository>(yamlConfig);
auto stateRepo = make_shared<YamlStateRepository>(yamlConfig);
auto stateRepo = make_shared<YamlStateRepository>(yamlState);
auto processExecutor = make_shared<ProcessExecutor>();
auto composeExecutor = make_shared<ComposeExecutorImpl>(processExecutor);
auto workspaceService = make_shared<WorkspaceService>(workspacesRepo, stateRepo, composeExecutor);
Expand Down

0 comments on commit 02ce718

Please sign in to comment.