Skip to content

Commit

Permalink
chore(builder): update process exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
ArcherGu committed Dec 23, 2024
1 parent ca1dc53 commit e7f1482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/builder/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ cli
process.exit(1)
}
finally {
process.exit(0)
process.exit()
}
})

Expand Down
2 changes: 1 addition & 1 deletion packages/builder/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const logger = createLogger()

function exitMainProcess() {
logger.warn(TAG, 'Main process exit')
process.exit(0)
process.exit()
}

function runMainProcess(mainFile: string, electron: any, args: DevArgs) {
Expand Down

0 comments on commit e7f1482

Please sign in to comment.