aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_Checks.cpp
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-05-05 14:37:58 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-05-05 14:37:58 -0700
commit22848e4b7e29a3a74c28afafe4d177e541ec8638 (patch)
tree1abfe9818339472b7be7d4812ced3d232da41010 /toolsrc/src/vcpkg_Checks.cpp
parente8c23168fabae9b1426df22ca0a24261959e3b11 (diff)
downloadvcpkg-22848e4b7e29a3a74c28afafe4d177e541ec8638.tar.gz
vcpkg-22848e4b7e29a3a74c28afafe4d177e541ec8638.zip
Introduce Debug::println()
Diffstat (limited to 'toolsrc/src/vcpkg_Checks.cpp')
-rw-r--r--toolsrc/src/vcpkg_Checks.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/toolsrc/src/vcpkg_Checks.cpp b/toolsrc/src/vcpkg_Checks.cpp
index 817ed895a..2674b889a 100644
--- a/toolsrc/src/vcpkg_Checks.cpp
+++ b/toolsrc/src/vcpkg_Checks.cpp
@@ -19,11 +19,7 @@ namespace vcpkg::Checks
[[noreturn]] void exit_with_code(const LineInfo& line_info, const int exit_code)
{
- if (g_debugging)
- {
- System::println(System::Color::error, line_info.to_string());
- }
-
+ Debug::println(System::Color::error, line_info.to_string());
::exit(exit_code);
}