GLaDOS-CheckIn icon indicating copy to clipboard operation
GLaDOS-CheckIn copied to clipboard

fix: PUSHPLUS not set will lead to error

Open futuretech6 opened this issue 3 years ago • 0 comments

感谢您对 GLaDOS-CheckIn 存储库的贡献。

变更类型

请删除不相关的选项。

  • [x] 修复错误(修复问题的非破坏性更改)

描述

在没有设置环境变量PUSHPLUS的情况下,原有的实现会导致运行错误:

TypeError: Cannot read properties of undefined (reading 'length')
    at GLaDOSCheckIn (GLaDOS-CheckIn/checkin.js:180:27)

futuretech6 avatar Sep 07 '22 03:09 futuretech6