diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-30 17:01:41 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-09-30 17:01:41 -0700 |
| commit | 51bc83c70e915892a658795f51bb3bb10360ee8d (patch) | |
| tree | 4d62ed612f908fda78ec370d87e72d400525e6db /toolsrc/src/commands_edit.cpp | |
| parent | e3455e281bd9a2147259f7ba769211b9709e51da (diff) | |
| download | vcpkg-51bc83c70e915892a658795f51bb3bb10360ee8d.tar.gz vcpkg-51bc83c70e915892a658795f51bb3bb10360ee8d.zip | |
Added triplet check in all commands that obtain package_specs
Diffstat (limited to 'toolsrc/src/commands_edit.cpp')
| -rw-r--r-- | toolsrc/src/commands_edit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toolsrc/src/commands_edit.cpp b/toolsrc/src/commands_edit.cpp index b17c02d5a..a3e2f402d 100644 --- a/toolsrc/src/commands_edit.cpp +++ b/toolsrc/src/commands_edit.cpp @@ -9,6 +9,7 @@ namespace vcpkg static const std::string example = create_example_string("edit zlib"); args.check_exact_arg_count(1, example.c_str()); const package_spec spec = Input::check_and_get_package_spec(args.command_arguments.at(0), default_target_triplet, example.c_str()); + Input::check_triplet(spec.target_triplet, paths); // Find editor std::wstring env_EDITOR = System::wdupenv_str(L"EDITOR"); |
