Skip to content

Commit b34a455

Browse files
mimre25mistricky
andcommitted
Update lua/code-link/link.lua
Co-authored-by: Mist <mist.zzh@gmail.com>
1 parent 2c2c9ee commit b34a455

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/code-link/link.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ local function github_line(num)
88
end
99

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

0 commit comments

Comments
 (0)