💩👌 make lint happy

This commit is contained in:
源文雨
2022-08-03 22:41:00 +08:00
parent 27c637ba66
commit e9a8b99f4f
3 changed files with 9 additions and 2 deletions

View File

@@ -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