From 3d7a378470edf0a3e97630c74bc327ad471c2f4f Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 29 Nov 2021 19:51:03 +0300 Subject: Fix diagnostics in package_version() overloads --- bdep/project.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bdep/project.cxx b/bdep/project.cxx index 93d24f1..37cc732 100644 --- a/bdep/project.cxx +++ b/bdep/project.cxx @@ -511,7 +511,7 @@ namespace bdep package_info pi (package_b_info (o, d, false /* ext_mods */)); if (pi.version.empty ()) - fail << "empty version for package directory " << d; + fail << "package in directory " << d << " does not use standard version"; return move (pi.version); } @@ -532,7 +532,7 @@ namespace bdep false /* ext_mods */)); if (pi.version.empty ()) - fail << "empty version for package " << p; + fail << "package " << p << " does not use standard version"; // Verify the name for good measure. // -- cgit v1.1