diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2020-06-04 21:39:24 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-05 12:23:19 +0200 |
| commit | 503fd5b2f7dbac79970770f0fc6754163dce1588 (patch) | |
| tree | 6c32438b11f9013e956d3bdad0e6a23ca8722e8a /pkg | |
| parent | 555756280ed34cb4ad9e18599002976804d0ae38 (diff) | |
.golangci.yml: enable whitespace checker
Points to bad empty lines very precisely.
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/csource/csource_test.go | 1 | ||||
| -rw-r--r-- | pkg/repro/repro.go | 2 |
2 files changed, 0 insertions, 3 deletions
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) { |
