mirror of
https://github.com/safing/portbase
synced 2025-09-10 23:34:42 +00:00
Update linter settings and fix warnings
This commit is contained in:
parent
22c59c50cc
commit
6650fb3b19
26 changed files with 102 additions and 81 deletions
|
@ -207,7 +207,7 @@ func parseAndOr(getSnippet func() (*snippet, error), remainingSnippets func() in
|
|||
for {
|
||||
if !expectingMore && rootCondition && remainingSnippets() == 0 {
|
||||
// advance snippetsPos by one, as it will be set back by 1
|
||||
getSnippet() //nolint:errcheck
|
||||
_, _ = getSnippet()
|
||||
if len(conditions) == 1 {
|
||||
return conditions[0], nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue