mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2026-02-11 17:50:25 +00:00
💩👌 make lint happy
This commit is contained in:
@@ -755,6 +755,7 @@ func getListMusic(listID, pathOfMusic string) (musicName string, err error) {
|
||||
err = errors.Errorf("下载音乐失败, ERROR: %s", err)
|
||||
return
|
||||
}
|
||||
_ = response.Body.Close()
|
||||
if response.StatusCode != 200 {
|
||||
err = errors.Errorf("下载音乐失败, Status Code: %d", response.StatusCode)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user