Fix #1: errcheckの警告が出ないように対応 #2
2 Participants
Notifications
Due Date
No due date set.
Depends on
#1 errcheck警告が出る
agent/dataxl
Reference: agent/dataxl#2
Reference in New Issue
Block a user
Delete Branch "fix/errcheck"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Errorを返却している箇所でエラーチェックを行わない場合に出る警告に対応。
ハンドリング不要のため、明示的に
_に代入するように修正。mainへfast-forwardで取り込みました。ローカルで
gofmt/go test ./.../go build ./cmd/dataxlを確認し、push後のGitea Actions CIも成功しています。GiteaのマージAPIは500を返したため、履歴を変えずにmainをPR headへ進めています。