aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/commands_edit.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-14 13:21:30 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-14 13:21:30 -0800
commitc11b2c790e0260434d057cd5fbeccd59f36732c7 (patch)
tree170c5bfcb655374356d32525442c08fc8de6d751 /toolsrc/src/commands_edit.cpp
parent8aa82bb8957cb5b76ad1d1209cf675b2eba7401d (diff)
downloadvcpkg-c11b2c790e0260434d057cd5fbeccd59f36732c7.tar.gz
vcpkg-c11b2c790e0260434d057cd5fbeccd59f36732c7.zip
Rename wdupenv_str to get_environmental_variable()
Diffstat (limited to 'toolsrc/src/commands_edit.cpp')
-rw-r--r--toolsrc/src/commands_edit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_edit.cpp b/toolsrc/src/commands_edit.cpp
index dff30f7ad..a25a9e4dc 100644
--- a/toolsrc/src/commands_edit.cpp
+++ b/toolsrc/src/commands_edit.cpp
@@ -15,7 +15,7 @@ namespace vcpkg::Commands::Edit
Checks::check_exit(fs::is_directory(portpath), R"(Could not find port named "%s")", port_name);
// Find editor
- std::wstring env_EDITOR = System::wdupenv_str(L"EDITOR");
+ std::wstring env_EDITOR = System::get_environmental_variable(L"EDITOR");
if (env_EDITOR.empty())
{
static const std::wstring CODE_EXE_PATH = LR"(C:\Program Files (x86)\Microsoft VS Code\Code.exe)";