diff options
Diffstat (limited to 'xmake/modules/devel/git/lastcommit.lua')
| -rw-r--r-- | xmake/modules/devel/git/lastcommit.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/devel/git/lastcommit.lua b/xmake/modules/devel/git/lastcommit.lua index 1ad6de1f4..02e5c71f7 100644 --- a/xmake/modules/devel/git/lastcommit.lua +++ b/xmake/modules/devel/git/lastcommit.lua @@ -38,6 +38,7 @@ import("net.proxy") -- @endcode -- function main(opt) + opt = opt or {} -- find git local git = assert(find_tool("git"), "git not found!") |
