Simple precedence of task-specific config over pattern config.

This commit is contained in:
Mikaël Capelle
2023-09-24 10:08:41 +02:00
parent 7e08ce29c0
commit 29eb8a7598
+6 -1
View File
@@ -378,8 +378,13 @@ namespace mob {
MOB_ASSERT(!tasks.empty());
for (auto& t : tasks)
for (auto& t : tasks) {
if (t->name() != task &&
details::find_string_for_task(t->name(), key)) {
continue;
}
details::set_string_for_task(t->name(), key, value);
}
}
else {
// global task option