committed by
GitHub
parent
d5d6950a0d
commit
164eb10cbd
@@ -185,7 +185,7 @@ function Runner.run(opts, callback)
|
||||
rc = nil, -- -1 indicates timeout
|
||||
}, Runner)
|
||||
|
||||
local async = callback ~= nil and self.config.git_async
|
||||
local async = callback ~= nil
|
||||
local profile = log.profile_start("git %s job %s %s", async and "async" or "sync", opts.project_root, opts.path)
|
||||
|
||||
if async and callback then
|
||||
@@ -214,9 +214,4 @@ function Runner.run(opts, callback)
|
||||
end
|
||||
end
|
||||
|
||||
function Runner.setup(opts)
|
||||
Runner.config = {}
|
||||
Runner.config.git_async = opts.experimental.git.async
|
||||
end
|
||||
|
||||
return Runner
|
||||
|
||||
Reference in New Issue
Block a user