aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-09 17:23:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-09 18:11:23 +0300
commitab8c659fd2e7d1938740472327cf56843e4fd90a (patch)
tree89c17f192b17ffa3de0bd5ae2e8525f3c47130eb /bpkg/manifest-utility.cxx
parenteeb4dd62fe81070217511a754ca539325bdd9d78 (diff)
Adapt to repository_url(string) ctor throwing invalid_argument for empty string
Diffstat (limited to 'bpkg/manifest-utility.cxx')
-rw-r--r--bpkg/manifest-utility.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx
index fcda389..484ba32 100644
--- a/bpkg/manifest-utility.cxx
+++ b/bpkg/manifest-utility.cxx
@@ -93,10 +93,6 @@ namespace bpkg
try
{
repository_url u (s);
-
- if (u.empty ())
- fail << "empty repository location";
-
assert (u.path);
// Make the relative path absolute using the current directory.