aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg_Checks.cpp
diff options
context:
space:
mode:
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);
}