Update linter settings and fix warnings

This commit is contained in:
Daniel 2022-02-02 14:58:27 +01:00
parent 22c59c50cc
commit 6650fb3b19
26 changed files with 102 additions and 81 deletions

View file

@ -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)
}