From a0298b704583fc08f66f9da5d121039d0ea98e02 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 18 Jan 2025 22:14:25 +0800 Subject: fix quiet for warnings --- xmake/core/base/utils.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index 99add99bc..a1070a6a9 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -208,7 +208,9 @@ end -- add warning message function utils.warning(format, ...) - assert(format) + if option.get("quiet") then + return + end -- format message local args = table.pack(...) -- cgit v1.3.1