From 503fd5b2f7dbac79970770f0fc6754163dce1588 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 4 Jun 2020 21:39:24 +0200 Subject: .golangci.yml: enable whitespace checker Points to bad empty lines very precisely. --- pkg/csource/csource_test.go | 1 - pkg/repro/repro.go | 2 -- 2 files changed, 3 deletions(-) (limited to 'pkg') diff --git a/pkg/csource/csource_test.go b/pkg/csource/csource_test.go index a5b12babf..152c732b8 100644 --- a/pkg/csource/csource_test.go +++ b/pkg/csource/csource_test.go @@ -43,7 +43,6 @@ func TestGenerate(t *testing.T) { t.Parallel() testTarget(t, target, full) }) - } } diff --git a/pkg/repro/repro.go b/pkg/repro/repro.go index b3317dde6..b207a92a2 100644 --- a/pkg/repro/repro.go +++ b/pkg/repro/repro.go @@ -207,7 +207,6 @@ func (ctx *context) initInstance(cfg *mgrconfig.Config, vmPool *vm.Pool, vmIndex vmInst, err := vmPool.Create(vmIndex) if err != nil { return nil, fmt.Errorf("failed to create VM: %v", err) - } execprogBin, err := vmInst.Copy(cfg.SyzExecprogBin) if err != nil { @@ -228,7 +227,6 @@ func (ctx *context) initInstance(cfg *mgrconfig.Config, vmPool *vm.Pool, vmIndex execprogBin: execprogBin, executorBin: executorCmd, }, nil - } func (ctx *context) repro(entries []*prog.LogEntry, crashStart int) (*Result, error) { -- cgit mrf-deployment