diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 15:51:20 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-28 15:51:20 -0700 |
| commit | 2559c9773615ac1d657bc350a3ce0ad9d724e55c (patch) | |
| tree | 99631347b6593225c83ac59fc307d71404e23526 /toolsrc/src | |
| parent | 51e2e19d0615617e99ec96d7fb5ee99e85ca312a (diff) | |
| download | vcpkg-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.cpp | 2 |
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); } }; |
