From d7dd071d8f2b541c65770c207ac1dc56fea44655 Mon Sep 17 00:00:00 2001 From: linxGnu Date: Thu, 2 Sep 2021 11:30:22 +0900 Subject: [PATCH] Fix lint --- .github/workflows/go.yml | 4 ++-- transceivable.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index e67a979..3e437e3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -1,6 +1,6 @@ name: Build -on: [ push, pull_request ] +on: [push, pull_request] jobs: build: @@ -18,7 +18,7 @@ jobs: - name: Linter uses: golangci/golangci-lint-action@v2 with: - version: v1.31 + version: v1.42 - name: Test Coverage run: go test -v -race -count=1 -coverprofile=coverage.out diff --git a/transceivable.go b/transceivable.go index 362f2fc..27c76ec 100644 --- a/transceivable.go +++ b/transceivable.go @@ -68,7 +68,7 @@ func newTransceivable(conn *Connection, settings Settings) *transceivable { }, response: func(p pdu.PDU) { - t.Submit(p) + _ = t.Submit(p) }, })