aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_ci.cpp
diff options
context:
space:
mode:
authorDaniel Shaw <t-dansha@microsoft.com>2017-06-27 14:52:26 -0700
committerDaniel Shaw <t-dansha@microsoft.com>2017-06-27 15:46:40 -0700
commit7944f9f7779ebbc0923efd27cff268ac23b1c312 (patch)
tree25ab659f0362bd6b8e7a075b29eb2322c0dabe5e /toolsrc/src/commands_ci.cpp
parentcc06f978914917622904a0326094c1d5fba4118e (diff)
downloadvcpkg-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.cpp3
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;