diff options
| author | ruki <[email protected]> | 2020-02-06 23:17:02 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-06 13:42:16 +0800 |
| commit | c1262215a240eefc46a97b88ec3086e0c55947e3 (patch) | |
| tree | 28fa7055f874028a37341f7986e49707be68c10b /xmake/modules/detect/tools/find_dmd.lua | |
| parent | 77f79dd72801215d403b1a5a7b7a130c68bd4e2b (diff) | |
improve semver and find_programver
Diffstat (limited to 'xmake/modules/detect/tools/find_dmd.lua')
| -rw-r--r-- | xmake/modules/detect/tools/find_dmd.lua | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xmake/modules/detect/tools/find_dmd.lua b/xmake/modules/detect/tools/find_dmd.lua index 189b3508c..930ef4390 100644 --- a/xmake/modules/detect/tools/find_dmd.lua +++ b/xmake/modules/detect/tools/find_dmd.lua @@ -39,7 +39,6 @@ function main(opt) -- init options opt = opt or {} opt.command = opt.command or "--version" - opt.parse = opt.parse or function (output) return output:match("v(%d+%.?%d*%.?%d*.-)%s") end -- find program local program = find_program(opt.program or "dmd", opt) |
