diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-02 14:57:52 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-10-02 14:57:52 -0700 |
| commit | d25a072c76ff81934813f20116788140621619ba (patch) | |
| tree | df92a30327c6ecb0664c96afebdaa0433cf443db /toolsrc/src/commands_install.cpp | |
| parent | e4e5298911059837652824d47bce1e964305c72d (diff) | |
| download | vcpkg-d25a072c76ff81934813f20116788140621619ba.tar.gz vcpkg-d25a072c76ff81934813f20116788140621619ba.zip | |
Show warning instead of failing if port cannot be parsed
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
| -rw-r--r-- | toolsrc/src/commands_install.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp index aca25996e..d815332fe 100644 --- a/toolsrc/src/commands_install.cpp +++ b/toolsrc/src/commands_install.cpp @@ -568,8 +568,8 @@ namespace vcpkg::Commands::Install if (GlobalState::feature_packages) { std::unordered_map<std::string, SourceControlFile> scf_map; - auto all_ports = Paragraphs::try_load_all_ports(paths.get_filesystem(), paths.ports); - for (auto&& port : all_ports.paragraphs) + auto all_ports = Paragraphs::load_all_ports(paths.get_filesystem(), paths.ports); + for (auto&& port : all_ports) { scf_map[port->core_paragraph->name] = std::move(*port); } |
