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

fix: pass app object to open instead of string/array #38

Merged
merged 1 commit into from
Jan 21, 2022
Merged

fix: pass app object to open instead of string/array #38

merged 1 commit into from
Jan 21, 2022

Conversation

erezrokah
Copy link
Contributor

Hello 👋

Thank you for this package ❤️

It seems 5a185c2 broke the open invocation as it didn't update the structure of the arguments per https://github.com/sindresorhus/open/releases/tag/v8.0.0.

You can try this by writing a script that uses this library and set BROWSER=firefox to see.

This PR fixes the above issue.

@michaellzc michaellzc merged commit 0535875 into michaellzc:master Jan 21, 2022
@michaellzc
Copy link
Owner

michaellzc commented Jan 21, 2022

hey @erezrokah

thanks a lot for the fix.

a new patch has been released https://www.npmjs.com/package/better-opn/v/3.0.2

@erezrokah
Copy link
Contributor Author

Thank you for the quick review and release!

@erezrokah erezrokah deleted the fix/browser_env branch January 22, 2022 10:18
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