diff options
| -rw-r--r-- | CHANGELOG.md | 2 | ||||
| -rw-r--r-- | xmake/core/base/utils.lua | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b9f14ff4a..db4aa5c2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### New features * [#630](https://github.com/xmake-io/xmake/issues/630): Support *BSD system, e.g. FreeBSD, .. +* Add wprint builtin api to show warnings ### Change @@ -734,6 +735,7 @@ ### 新特性 * [#630](https://github.com/xmake-io/xmake/issues/630): 支持*BSD系统,例如:FreeBSD, .. +* 添加wprint接口去显示警告信息 ### 改进 diff --git a/xmake/core/base/utils.lua b/xmake/core/base/utils.lua index d19be86b7..c516c9e07 100644 --- a/xmake/core/base/utils.lua +++ b/xmake/core/base/utils.lua @@ -261,9 +261,6 @@ function utils.show_warnings() local warnings = utils._WARNINGS if warnings then for idx, msg in ipairs(table.unique(warnings)) do - if idx == 1 then - print("") - end if not option.get("verbose") and idx > 1 then utils.cprint("${bright color.warning}${text.warning}: ${color.warning}add -v for getting more warnings ..") break |
