update: 版本更新提示不展示问题修复

This commit is contained in:
binaryify 2024-01-26 17:38:43 +08:00
parent 35e1807c4c
commit a42d2e491e
3 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,8 @@
# 更新日志
### 4.14.2 | 2024.01.23
### 4.15.1 | 2024.01.26
- 版本更新提示不展示问题修复
### 4.15.0 | 2024.01.26
- 新增 `私人 FM 模式选择` 接口
### 4.14.2 | 2024.01.23

View File

@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "4.15.0",
"version": "4.14.1",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",

View File

@ -116,12 +116,12 @@ async function checkVersion() {
? VERSION_CHECK_RESULT.NOT_LATEST
: VERSION_CHECK_RESULT.LATEST,
)
} else {
resolve({
status: VERSION_CHECK_RESULT.FAILED,
})
}
})
resolve({
status: VERSION_CHECK_RESULT.FAILED,
})
})
}