We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c2c9ee commit b34a455Copy full SHA for b34a455
lua/code-link/link.lua
@@ -8,8 +8,7 @@ local function github_line(num)
8
end
9
10
function CodeLink.new(config)
11
- local origin = CodeLink.get_git_origin(config)
12
- origin = CodeLink.convert_git_origin(origin)
+ local origin = CodeLink.convert_git_origin(CodeLink.get_git_origin(config))
13
local branch_name = string_util.trim(command_util.exec_command("git branch --show-current", "r"))
14
local instance = { branch_name = branch_name, origin = origin }
15
0 commit comments