diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-11-29 19:51:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-11-29 19:51:15 +0300 |
commit | 3d7a378470edf0a3e97630c74bc327ad471c2f4f (patch) | |
tree | 2e82dcb794e454ddf0976553084cac7ed473a7b6 | |
parent | db6b883b9ea641f1be90cf5dab5e19ab635b788e (diff) |
Fix diagnostics in package_version() overloads
-rw-r--r-- | bdep/project.cxx | 4 |
1 files 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. // |