Report the badly formed package name to the user

main
cursey 3 years ago
parent 61dfb0eb60
commit 0acc9b4e5a
No known key found for this signature in database
GPG Key ID: A6A7163A1B8FD42C

@ -511,7 +511,7 @@ Project::Project(const Project *parent, const std::string &path, bool build) {
package.features.emplace_back(feature);
}
} else {
throw std::runtime_error("Badly formed vcpkg package name");
throw std::runtime_error("Invalid vcpkg package '" + package_str + "'");
}
vcpkg.packages.emplace_back(std::move(package));
}

Loading…
Cancel
Save