diff options
| author | ruki <[email protected]> | 2016-07-14 13:06:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-07-14 13:06:26 +0800 |
| commit | da4a5080928e8500b54df127a471723e8f0baf0a (patch) | |
| tree | ae3d1f862eb7e6b5d8b2e4cc33a99f3ee15d21a4 | |
| parent | 6dc09d1faad7c94dfd19fc71566100a219bdfc1a (diff) | |
check emoji supported
| -rw-r--r-- | xmake/core/base/emoji.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xmake/core/base/emoji.lua b/xmake/core/base/emoji.lua index 4bf22a8b6..7279a3ca8 100644 --- a/xmake/core/base/emoji.lua +++ b/xmake/core/base/emoji.lua @@ -37,7 +37,9 @@ emoji.keys = function emoji.translate(str) -- check supported? - -- TODO + if xmake._HOST ~= "macosx" then + return nil + end -- translate it return emoji.keys[str] |
