fix: #6 error getting correct git branch
parent
45d944c8ec
commit
23151e4db6
|
|
@ -87,7 +87,7 @@ local function get_branch()
|
|||
table.insert(lines, "_" .. s)
|
||||
end
|
||||
|
||||
return lines[2]:gsub("/", "%%")
|
||||
return lines[#lines]:gsub("/", "%%")
|
||||
end
|
||||
|
||||
return ""
|
||||
|
|
|
|||
Loading…
Reference in New Issue