From 02ce718f9ec2a60b1661ec4e7773ff21914a3ecf Mon Sep 17 00:00:00 2001 From: Vladislav Navrocky Date: Wed, 24 Apr 2024 11:36:45 +0300 Subject: [PATCH] Fix state yaml location --- cli/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/main.cpp b/cli/main.cpp index baa8cb8..9b9212a 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -45,7 +45,7 @@ int main(int argc, char** argv) auto yamlState = make_shared(format("{}/.local/share/dcw/state.yml", home)); auto workspacesRepo = make_shared(yamlConfig); - auto stateRepo = make_shared(yamlConfig); + auto stateRepo = make_shared(yamlState); auto processExecutor = make_shared(); auto composeExecutor = make_shared(processExecutor); auto workspaceService = make_shared(workspacesRepo, stateRepo, composeExecutor);