Skip to content

Commit

Permalink
style(stylua): formatted changed code with stylua
Browse files Browse the repository at this point in the history
  • Loading branch information
Hashino committed Sep 14, 2024
1 parent 337f8d0 commit b90bf21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/octo/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ function M.parse_remote_url(url, aliases)
-- if url contains two slashes
local segments = vim.split(url, "/")
local host, repo
if #segments == 3 or (#segments == 4 and segments[4] == '') then
if #segments == 3 or (#segments == 4 and segments[4] == "") then
host = segments[1]
repo = segments[2] .. "/" .. segments[3]
elseif #segments == 2 then
Expand Down

0 comments on commit b90bf21

Please sign in to comment.