diff options
| author | ruki <[email protected]> | 2020-09-25 00:33:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-25 00:33:07 +0800 |
| commit | 90af4956738036172984f068502624bbc515cae7 (patch) | |
| tree | 7cd7177becaf98e676ae8eaa478f042e14505d3a /xmake/core/base/os.lua | |
| parent | 700f08a7bae11c22295f884610f98b7b99eb1790 (diff) | |
fix trailing white-space
Diffstat (limited to 'xmake/core/base/os.lua')
| -rw-r--r-- | xmake/core/base/os.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/core/base/os.lua b/xmake/core/base/os.lua index 50655d980..4b57e02f5 100644 --- a/xmake/core/base/os.lua +++ b/xmake/core/base/os.lua @@ -189,8 +189,8 @@ end function os._is_host(host, ...) -- no host - if not host then - return false + if not host then + return false end -- exists this host? and escape '-' @@ -205,8 +205,8 @@ end function os._is_arch(arch, ...) -- no arch - if not arch then - return false + if not arch then + return false end -- exists this architecture? and escape '-' @@ -570,7 +570,7 @@ end -- generate the temporary file path -- --- e.g. +-- e.g. -- os.tmpfile("key") -- os.tmpfile({key = "xxx", ramdisk = false}) -- @@ -581,7 +581,7 @@ function os.tmpfile(opt_or_key) key = opt_or_key.key opt = opt_or_key end - return path.join(os.tmpdir(opt), "_" .. (hash.uuid4(key):gsub("-", ""))) + return path.join(os.tmpdir(opt), "_" .. (hash.uuid4(key):gsub("-", ""))) end -- exit program |
