Skip to content

Commit

Permalink
Merge pull request #193 from Xbai-hang/bugfix-167
Browse files Browse the repository at this point in the history
fix: #167 奇怪的异常退出 bug
  • Loading branch information
umuoy1 authored May 1, 2024
2 parents 101ec20 + 9cc7df9 commit 4b41609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export class Recorder {
.path(join(this.savePath))
.findSync()
.length;
startNumber = ps - 1
startNumber = ps - 1 > 0 ? ps - 1 : 0
}

this.logger.info(`记录相关信息到文件 ${chalk.red(this._recorderTask.recorderName)},目录:${this.savePath}`)
Expand Down

0 comments on commit 4b41609

Please sign in to comment.