diff options
Diffstat (limited to 'xmake/modules/devel/git/pull.lua')
| -rw-r--r-- | xmake/modules/devel/git/pull.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmake/modules/devel/git/pull.lua b/xmake/modules/devel/git/pull.lua index 4c274a70b..6be175bf9 100644 --- a/xmake/modules/devel/git/pull.lua +++ b/xmake/modules/devel/git/pull.lua @@ -41,10 +41,7 @@ function main(opt) opt = opt or {} -- find git - local git = find_tool("git") - if not git then - return - end + local git = assert(find_tool("git"), "git not found!") -- init argv local argv = {"pull"} |
