Skip to content

Commit

Permalink
Clean luacheck warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisant996 committed May 16, 2023
1 parent 32e6ca0 commit 600b4dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flexprompt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2233,6 +2233,7 @@ function flexprompt.is_git_dir(dir)
-- Check if it has a worktree.
local gitdir_file = path.join(gitdir, "gitdir")
local file = io.open(gitdir_file)
local wks
if file then
wks = file:read("*l")
file:close()
Expand Down

0 comments on commit 600b4dc

Please sign in to comment.