Skip to content

Commit a0298b7

Browse files
committed
fix quiet for warnings
1 parent ce35c1a commit a0298b7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

xmake/core/base/utils.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ end
208208

209209
-- add warning message
210210
function utils.warning(format, ...)
211-
assert(format)
211+
if option.get("quiet") then
212+
return
213+
end
212214

213215
-- format message
214216
local args = table.pack(...)

0 commit comments

Comments
 (0)