Upgraded linter to 1.40.1 (#1072)

* tools: upgraded linter to 1.40.1

* lint: fixed nolintlint vionlations

* lint: disabled tagliatele linter

* lint: fixed remaining warnings
This commit is contained in:
Jarek Kowalski
2021-05-15 12:12:34 -07:00
committed by GitHub
parent fcd507a56d
commit 30ca3e2e6c
138 changed files with 266 additions and 70 deletions

View File

@@ -36,6 +36,7 @@ func (c *Comparer) Compare(ctx context.Context, e1, e2 fs.Entry) error {
// Close removes all temporary files used by the comparer.
func (c *Comparer) Close() error {
// nolint:wrapcheck
return os.RemoveAll(c.tmpDir)
}