aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_install.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_install.cpp
parentcc06f978914917622904a0326094c1d5fba4118e (diff)
downloadvcpkg-7944f9f7779ebbc0923efd27cff268ac23b1c312.tar.gz
vcpkg-7944f9f7779ebbc0923efd27cff268ac23b1c312.zip
refactor create_install_plan tests
Diffstat (limited to 'toolsrc/src/commands_install.cpp')
-rw-r--r--toolsrc/src/commands_install.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/src/commands_install.cpp b/toolsrc/src/commands_install.cpp
index a58432eef..d340a9cf8 100644
--- a/toolsrc/src/commands_install.cpp
+++ b/toolsrc/src/commands_install.cpp
@@ -359,8 +359,9 @@ namespace vcpkg::Commands::Install
// create the plan
StatusParagraphs status_db = database_load_check(paths);
+ auto paths_port_file = Dependencies::PathsPortFile(paths);
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");
// log the plan