Revert logInfo to print a single line after a fetch
1 parent 7549ce1 commit 386d2d61da146ac903e8bd68bcf790ee8b77a8b0
@Giacomo De Lazzari Giacomo De Lazzari authored on 11 Jun 2018
Jan Jurzitza committed on 28 Jul 2022
Showing 1 changed file
View
8
source/dub/commandline.d
} else {
try {
dub.fetch(name, Dependency.any, location, fetchOpts);
logInfo("Finished", Color.green, "%s fetched", name.color(Mode.bold));
logInfo("Please note that you need to use `dub run <pkgname>` or add it");
logInfo("to dependencies of your package to actually use/run it.");
logInfo(
"Please note that you need to use `dub run <pkgname>` " ~
"or add it to dependencies of your package to actually use/run it. "
);
}
catch(Exception e){
logInfo("Getting a release version failed: %s", e.msg);
logInfo("Retry with ~master...");