Skip to content

CLI electron-forge start electron options regression #3893

Closed
@JellyO1

Description

@JellyO1

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Forge version

7.7.0

Electron version

26.2.1

Operating system

Windows 11 (22631)

Last known working Forge version

No response

Expected behavior

Running electron-forge start -- --option should pass the option to electron.

Actual behavior

Running electron-forge start -- --option gives the error unknown option.

Steps to reproduce

Create a new project with create-electron-app@latest and change the start script to electron-forge start -- --opt

Additional information

This seems to be a regression, as this was already fixed in #3879. Should be an easy cherry-pick.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions