Skip to content

Fix process exit code type error#512

Merged
orangejulius merged 1 commit intopelias:masterfrom
harm-matthias-harms:bug/fix_process_exit_code_type_error
Sep 8, 2025
Merged

Fix process exit code type error#512
orangejulius merged 1 commit intopelias:masterfrom
harm-matthias-harms:bug/fix_process_exit_code_type_error

Conversation

@harm-matthias-harms
Copy link
Contributor

Since the node20 update process.exit(!!err) is not working anymore and
throwing TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be of type number. Received type boolean (false), because the boolean is
not converted to a number anymore.

Since the node20 update process.exit(!!err) is not working anymore and
throwing `TypeError [ERR_INVALID_ARG_TYPE]: The "code" argument must be
of type number. Received type boolean (false)`, because the boolean is
not converted to a number anymore.
@orangejulius
Copy link
Member

Oh yeah, nice fix. Thanks!

@orangejulius orangejulius merged commit db89e8b into pelias:master Sep 8, 2025
12 checks passed
@harm-matthias-harms harm-matthias-harms deleted the bug/fix_process_exit_code_type_error branch September 9, 2025 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments