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