Skip to content

Commit

Permalink
fixup! Add loggerFinishAndExit for log file consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqu committed May 18, 2020
1 parent 528d052 commit 72d3417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fileTransport.on("open", () => {
});
});

const finishLogger = (): Promise<never> => new Promise((resolve): void => {
const finishLogger = (): Promise<void> => new Promise((resolve): void => {
fileLogWatcher.on("finish", (): void => {
resolve();
});
Expand Down

0 comments on commit 72d3417

Please sign in to comment.