Skip to content

Commit 451e57f

Browse files
committed
lint
1 parent 911b106 commit 451e57f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/neogit/lib/git/index.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ local util = require("neogit.lib.util")
66
---@return string
77
local function eol_character(path)
88
local lines = vim.fn.readfile(path, "b", 1)
9-
if (lines[1] and lines[1]:find("\r")) then
9+
if lines[1] and lines[1]:find("\r") then
1010
return "\r\n"
1111
else
1212
return "\n"

0 commit comments

Comments
 (0)