Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: hooks are promisified #1791

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

feat!: hooks are promisified #1791

wants to merge 2 commits into from

Conversation

erickzhao
Copy link
Member

@erickzhao erickzhao commented Feb 5, 2025

BREAKING CHANGE: hooks now take in promises instead of callbacks

This PR addresses the underlying issue in electron/forge#3828 and modernizes our hook code to use Promises rather than callback-style asynchronous code.

The changes are ready for review, but we need to tie this PR (and any other breaking changes we might want to make) to the Node 22 upgrade.

BREAKING CHANGE: hooks now take in promises instead of callbacks
@erickzhao erickzhao requested a review from a team February 6, 2025 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant