fix: #6 error getting correct git branch

main
olimorris 2022-04-05 22:48:02 +01:00
parent 45d944c8ec
commit 23151e4db6
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ local function get_branch()
table.insert(lines, "_" .. s)
end
return lines[2]:gsub("/", "%%")
return lines[#lines]:gsub("/", "%%")
end
return ""