Skip to content

Commit 20679bc

Browse files
committed
Clean luacheck warnings.
1 parent 26efd01 commit 20679bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clink/app/scripts/git.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,10 @@ local function get_branch_slow(git_dir)
154154
end
155155

156156
local file
157-
local branch, detached, commit
157+
local branch, detached
158158

159159
-- Handle the most common case first.
160-
if not branch then
160+
if not branch then -- luacheck: ignore 321
161161
file = io.popen(git.makecommand(flags.."branch"))
162162
if file then
163163
for line in file:lines() do

0 commit comments

Comments
 (0)