Skip to content

fix: properly handle target argument in e build#351

Merged
codebytere merged 1 commit intoelectron:mainfrom
dsanders11:patch-2
Mar 22, 2022
Merged

fix: properly handle target argument in e build#351
codebytere merged 1 commit intoelectron:mainfrom
dsanders11:patch-2

Conversation

@dsanders11
Copy link
Copy Markdown
Member

Not sure if this is fall out from the commander upgrade (seems plausible given the code's usage of rawArgs), but currently providing a target argument to e build isn't working since it doesn't map it to the correct name.

This tightens up the different ways a target can be provided and I think handles all cases robustly now.

Came from electron/electron#33355 where it was showing up in the wild.

@codebytere

Copy link
Copy Markdown
Member

@codebytere codebytere left a comment

Choose a reason for hiding this comment

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

Thanks! and yeah - definitely collateral damage from the commander upgrade 😅

@codebytere codebytere merged commit ea31c59 into electron:main Mar 22, 2022
@dsanders11 dsanders11 deleted the patch-2 branch March 22, 2022 08:21
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