Skip to content

Commit

Permalink
Update lua/code-link/link.lua
Browse files Browse the repository at this point in the history
Co-authored-by: Mist <[email protected]>
  • Loading branch information
mimre25 and mistricky committed Feb 13, 2024
1 parent 2c2c9ee commit b34a455
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/code-link/link.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ local function github_line(num)
end

function CodeLink.new(config)
local origin = CodeLink.get_git_origin(config)
origin = CodeLink.convert_git_origin(origin)
local origin = CodeLink.convert_git_origin(CodeLink.get_git_origin(config))
local branch_name = string_util.trim(command_util.exec_command("git branch --show-current", "r"))
local instance = { branch_name = branch_name, origin = origin }

Expand Down

0 comments on commit b34a455

Please sign in to comment.