all repos — elgit @ cfea2a3ba078b13b46a99963953175f6d1c16ff1

fork of legit: web frontend for git, written in go

address linter complaints

Alan Pearce
commit

cfea2a3ba078b13b46a99963953175f6d1c16ff1

parent

6c5cc57b578117ef8d56432f3e8b114cb39b5aee

1 file changed, 2 insertions(+), 3 deletions(-)

changed files
M unveil_stub.gounveil_stub.go
@@ -1,11 +1,10 @@
//go:build !openbsd -// +build !openbsd // Stub functions for GOOS that don't support unix.Unveil() package main -func Unveil(path string, perms string) error { +func Unveil(_ string, _ string) error { return nil }
@@ -13,6 +12,6 @@ func UnveilBlock() error {
return nil } -func UnveilPaths(paths []string, perms string) error { +func UnveilPaths(_ []string, _ string) error { return nil }