diff options
| author | Daniel Shaw <t-dansha@microsoft.com> | 2017-06-27 14:52:26 -0700 |
|---|---|---|
| committer | Daniel Shaw <t-dansha@microsoft.com> | 2017-06-27 15:46:40 -0700 |
| commit | 7944f9f7779ebbc0923efd27cff268ac23b1c312 (patch) | |
| tree | 25ab659f0362bd6b8e7a075b29eb2322c0dabe5e /toolsrc/src/commands_ci.cpp | |
| parent | cc06f978914917622904a0326094c1d5fba4118e (diff) | |
| download | vcpkg-7944f9f7779ebbc0923efd27cff268ac23b1c312.tar.gz vcpkg-7944f9f7779ebbc0923efd27cff268ac23b1c312.zip | |
refactor create_install_plan tests
Diffstat (limited to 'toolsrc/src/commands_ci.cpp')
| -rw-r--r-- | toolsrc/src/commands_ci.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_ci.cpp b/toolsrc/src/commands_ci.cpp index 5f6fc95b5..95d722302 100644 --- a/toolsrc/src/commands_ci.cpp +++ b/toolsrc/src/commands_ci.cpp @@ -40,8 +40,9 @@ namespace vcpkg::Commands::CI const std::vector<PackageSpec> specs = load_all_package_specs(paths.get_filesystem(), paths.ports, triplet); StatusParagraphs status_db = database_load_check(paths); + auto paths_port_file = Dependencies::PathsPortFile(paths); const std::vector<InstallPlanAction> install_plan = - Dependencies::create_install_plan(Dependencies::PathsPortFile(paths), specs, status_db); + Dependencies::create_install_plan(paths_port_file, specs, status_db); Checks::check_exit(VCPKG_LINE_INFO, !install_plan.empty(), "Install plan cannot be empty"); std::vector<BuildResult> results; |
