Skip to content

Commit 1bb8e8b

Browse files
committed
chore: make lint happy
1 parent 209b2e8 commit 1bb8e8b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ jobs:
1313
- name: Check out code into the Go module directory
1414
uses: actions/checkout@master
1515

16-
- name: golangci-lint
16+
- name: Run Lint
1717
uses: golangci/golangci-lint-action@master
18-
continue-on-error: true
1918
with:
2019
version: latest
2120

plugin/bilibili/bilibilipush.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,9 @@ func init() {
209209
})
210210
}
211211

212-
func changeAtAll(groupId int64, b int) (err error) {
212+
func changeAtAll(gid int64, b int) (err error) {
213213
bpMap := map[string]any{
214-
"group_id": groupId,
214+
"group_id": gid,
215215
"at_all": b,
216216
}
217217
return bdb.updateAtAll(bpMap)

0 commit comments

Comments
 (0)