Skip to content

build: Electron Forge 8 Alpha 6#1878

Open
erickzhao wants to merge 2 commits intomainfrom
forge-alpha-6
Open

build: Electron Forge 8 Alpha 6#1878
erickzhao wants to merge 2 commits intomainfrom
forge-alpha-6

Conversation

@erickzhao
Copy link
Copy Markdown
Member

@erickzhao erickzhao commented Apr 2, 2026

Mostly testing how things shake out after the ESM + Node 22 PR.

@coveralls
Copy link
Copy Markdown

coveralls commented Apr 2, 2026

Coverage Status

coverage: 89.491% (+0.02%) from 89.475%
when pulling 4e88f26 on forge-alpha-6
into 9030f27 on main.

@erickzhao erickzhao marked this pull request as ready for review April 2, 2026 21:32
@erickzhao erickzhao requested review from a team and codebytere as code owners April 2, 2026 21:32
if (typeof module !== 'undefined' && require.main === module) {
main(process.argv);
}
main(process.argv);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we know what originally motivated this? Wondering if we should keep it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure but as a note I specifically changed this around because require.main === module was tripping over module: preserve.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Context for the change here: b30d4c3

I'm a little concerned this might cause a regression in tests, but at the same time they're going green. 🤔

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.

3 participants