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
|
@ -36,7 +36,7 @@ func TestMain(m *testing.M) {
|
|||
|
||||
// Clean up the test directory.
|
||||
// Do not defer, as we end this function with a os.Exit call.
|
||||
os.RemoveAll(testDir)
|
||||
_ = os.RemoveAll(testDir)
|
||||
|
||||
os.Exit(exitCode)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue