diff options
author | silverwind <me@silverwind.io> | 2023-04-20 04:08:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-19 22:08:01 -0400 |
commit | 938b59199480d1b3730388982eb87d592e976849 (patch) | |
tree | fcbbeea0c67dca1cda1ef87a6b3c0748105a8610 /modules/graceful | |
parent | 594efb9b669fb12e8a0306f76c740fa72c1a80f1 (diff) | |
download | gitea-938b59199480d1b3730388982eb87d592e976849.tar.gz gitea-938b59199480d1b3730388982eb87d592e976849.zip |
Remove most path-based golangci exclusions (#24214)
They are non-obvious and do not survive refactor.
Will replace with `//nolint` comments after CI results are in.
Diffstat (limited to 'modules/graceful')
-rw-r--r-- | modules/graceful/manager_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/graceful/manager_windows.go b/modules/graceful/manager_windows.go index 212ddf437c..f3606084aa 100644 --- a/modules/graceful/manager_windows.go +++ b/modules/graceful/manager_windows.go @@ -96,7 +96,7 @@ func (g *Manager) start() { run := svc.Run //lint:ignore SA1019 We use IsAnInteractiveSession because IsWindowsService has a different permissions profile - isAnInteractiveSession, err := svc.IsAnInteractiveSession() + isAnInteractiveSession, err := svc.IsAnInteractiveSession() //nolint:staticcheck if err != nil { log.Error("Unable to ascertain if running as an Windows Service: %v", err) return |