Bugfix: Fixes server.start() command
This commit is contained in:
@@ -210,7 +210,7 @@ This plugin uses a Golang server to reach out to Gitlab. It's possible that some
|
||||
|
||||
```
|
||||
:lua require("gitlab.server").build()
|
||||
:lua require("gitlab.server").start()
|
||||
:lua require("gitlab.server").start(function() print("Server started") end)
|
||||
```
|
||||
|
||||
You can directly interact with the Go server like any other process:
|
||||
|
||||
@@ -57,7 +57,7 @@ M.sequence = function(dependencies, cb)
|
||||
return
|
||||
end
|
||||
|
||||
server.start_server(function()
|
||||
server.start(function()
|
||||
state.go_server_running = true
|
||||
handler:fetch(dependencies, 1)
|
||||
end)
|
||||
|
||||
@@ -7,7 +7,7 @@ local u = require("gitlab.utils")
|
||||
local M = {}
|
||||
|
||||
-- Starts the Go server and call the callback provided
|
||||
M.start_server = function(callback)
|
||||
M.start = function(callback)
|
||||
local command = state.settings.bin
|
||||
.. " "
|
||||
.. state.settings.project_id
|
||||
|
||||
Reference in New Issue
Block a user