Skip to content

Commit

Permalink
chore: make callback on exit optional
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaslanjaka committed Feb 16, 2024
1 parent bc53720 commit e8065d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/hexo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -660,7 +660,7 @@ class Hexo extends EventEmitter {
});
}

exit(err: Error): Promise<void> {
exit(err?: Error): Promise<void> {
if (err) {
this.log.fatal(
{ err },
Expand Down

0 comments on commit e8065d9

Please sign in to comment.