remove unneccessary warning prefix
logWarn already adds a warning
1 parent fe09137 commit d22b50969c770e8e95bad0bf5870b3986c40501c
@Jan Jurzitza Jan Jurzitza authored on 26 Aug 2022
Mathias LANG committed on 26 Aug 2022
Showing 1 changed file
View
2
■■■
source/dub/dub.d
auto altdeppath = d.name == dbasename ? basepack.path : subpack.path;
altdeppath.endsWithSlash = true;
 
if (!d.spec.path.empty && absdeppath != desireddeppath)
logWarn("Warning: Sub package %s, referenced by %s %s must be referenced using the path to its base package",
logWarn("Sub package %s, referenced by %s %s must be referenced using the path to its base package",
subpack.name, pack.name, pack.version_);
 
enforce(d.spec.path.empty || absdeppath == desireddeppath || absdeppath == altdeppath,
format("Dependency from %s to %s uses wrong path: %s vs. %s",