Skip to content

Commit

Permalink
chore: tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmarucci committed Jul 16, 2023
1 parent b15d197 commit 3c596fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions lua/gitsigns/gh.lua
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
local async = require('gitsigns.async')
local subprocess = require('gitsigns.subprocess')
local log = require('gitsigns.debug.log')

local subprocess = require('gitsigns.subprocess')

--- @class GitHub.PrInfo
--- @field url string
Expand Down
4 changes: 2 additions & 2 deletions lua/gitsigns/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ end
---@param reltime? boolean Use relative time as the default date format
---@return string
function M.expand_format(fmt, info, reltime)
local ret = {} --- @type string[]
local ret = {} --- @type string[]

for _ = 1, 20 do -- loop protection
-- Capture <name> or <name:format>
Expand Down Expand Up @@ -226,7 +226,7 @@ function M.bufexists(buf)
return vim.fn.bufexists(buf) == 1
end

--- Converts a DateTime string into a timestamp
--- Converts a DateTime string into its timestamp
---
--- @param dateTime string
--- @return number? The timestamp
Expand Down

0 comments on commit 3c596fe

Please sign in to comment.