aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-04-28 15:51:20 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-04-28 15:51:20 -0700
commit2559c9773615ac1d657bc350a3ce0ad9d724e55c (patch)
tree99631347b6593225c83ac59fc307d71404e23526 /toolsrc/src
parent51e2e19d0615617e99ec96d7fb5ee99e85ca312a (diff)
downloadvcpkg-2559c9773615ac1d657bc350a3ce0ad9d724e55c.tar.gz
vcpkg-2559c9773615ac1d657bc350a3ce0ad9d724e55c.zip
`export`: When package name is invalid, error out earlier and with a better message
Diffstat (limited to 'toolsrc/src')
-rw-r--r--toolsrc/src/vcpkg_Dependencies.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/vcpkg_Dependencies.cpp b/toolsrc/src/vcpkg_Dependencies.cpp
index e84818eb1..acfb55239 100644
--- a/toolsrc/src/vcpkg_Dependencies.cpp
+++ b/toolsrc/src/vcpkg_Dependencies.cpp
@@ -288,7 +288,7 @@ namespace vcpkg::Dependencies
if (auto spgh = maybe_spgh.get())
return ExportPlanAction{spec, {nullopt, nullopt, *spgh}, request_type};
- return ExportPlanAction{spec, {nullopt, nullopt, nullopt}, request_type};
+ Checks::exit_with_message(VCPKG_LINE_INFO, "Could not find package %s", spec);
}
};