diff --git a/source/dub/dependencyresolver.d b/source/dub/dependencyresolver.d index f4a5e8a..e77fd0f 100644 --- a/source/dub/dependencyresolver.d +++ b/source/dub/dependencyresolver.d @@ -156,10 +156,9 @@ // we know that either the child or the parent needs to be switched // to another configuration, no need to continue with other children if (config == CONFIG.invalid) break; - - maxcpi = max(maxcpi, validateConfigs(chnode, error)); } + maxcpi = max(maxcpi, validateConfigs(chnode, error)); } } return maxcpi;