From f61638f24a924c48606977e38920eac07c7251e2 Mon Sep 17 00:00:00 2001 From: Paulo Gomes Date: Fri, 28 Jun 2024 23:10:23 +0100 Subject: *: Small fixes to remove linter warnings Signed-off-by: Paulo Gomes --- worktree_linux.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'worktree_linux.go') diff --git a/worktree_linux.go b/worktree_linux.go index 6fcace2..f6b85fe 100644 --- a/worktree_linux.go +++ b/worktree_linux.go @@ -1,3 +1,4 @@ +//go:build linux // +build linux package git @@ -21,6 +22,6 @@ func init() { } } -func isSymlinkWindowsNonAdmin(err error) bool { +func isSymlinkWindowsNonAdmin(_ error) bool { return false } -- cgit