diff options
| -rw-r--r-- | xmake/core/base/utils.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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(...) |
