diff options
| author | DavidWang19 <[email protected]> | 2026-05-03 09:38:54 +0100 |
|---|---|---|
| committer | DavidWang19 <[email protected]> | 2026-05-03 09:38:54 +0100 |
| commit | 7778b7cb39646016c30bf3c6bf1e1897edc26529 (patch) | |
| tree | 8660cf81b640c9a116a068fd2b105da92bc57cd5 /xmake/modules/lib/detect/check_fcsnippets.lua | |
| parent | 05f0bb724f1e2d59d851828cb5d16d64ef98b860 (diff) | |
drop redundant empty argv on os.runv/iorunv calls
Diffstat (limited to 'xmake/modules/lib/detect/check_fcsnippets.lua')
| -rw-r--r-- | xmake/modules/lib/detect/check_fcsnippets.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/lib/detect/check_fcsnippets.lua b/xmake/modules/lib/detect/check_fcsnippets.lua index b6dcd8f46..a6b93cbbf 100644 --- a/xmake/modules/lib/detect/check_fcsnippets.lua +++ b/xmake/modules/lib/detect/check_fcsnippets.lua @@ -118,13 +118,13 @@ function main(snippets, opt) -- whitespace by os.argv. mostly hits on Windows where TEMP lives -- under the user profile and may contain spaces. if opt.output then - local output = os.iorunv(binaryfile, {}) + local output = os.iorunv(binaryfile) if output then output = output:trim() end return true, output else - os.vrunv(binaryfile, {}) + os.vrunv(binaryfile) end end local binary_match = opt.binary_match |
