Skip to content

Commit

Permalink
fix: 初始化时任务加载未清空任务列表
Browse files Browse the repository at this point in the history
fixed #19
  • Loading branch information
dongwlin committed Dec 11, 2024
1 parent a121afb commit 29a8761
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/cli/Config/TasksConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ TasksConfig::TasksConfig()

bool TasksConfig::parse(const json::value& config_opt)
{
_config_tasklist.clear();
auto arr = config_opt.as_array();
for (auto& el : arr) {
Task task;
Expand Down

0 comments on commit 29a8761

Please sign in to comment.