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

Change from opn (deprecated) to open #867

Merged
merged 8 commits into from
Mar 29, 2021
Merged

Change from opn (deprecated) to open #867

merged 8 commits into from
Mar 29, 2021

Conversation

bwateratmsft
Copy link
Contributor

@bwateratmsft bwateratmsft commented Mar 26, 2021

I've been doing some work to eliminate warnings/errors/etc. throughout our build process; one of them is that opn is deprecated. We can switch to open which is not.

I don't think it's needed anymore since VSCode offers this vscode.env.openExternal API, so this lets us eliminate opn as a dependency entirely. That API probably works better in remote cases anyway.

I tested out this change with the "Report Issue" button which seemed to be a good test sample--long URL with lots of query string--and everything worked nicely.

@bwateratmsft bwateratmsft requested a review from a team as a code owner March 26, 2021 13:46
ui/src/utils/openUrl.ts Outdated Show resolved Hide resolved
@bwateratmsft bwateratmsft changed the title Eliminate opn dependency Change from opn (deprecated) to open Mar 26, 2021
ui/src/utils/openUrl.ts Outdated Show resolved Hide resolved
@bwateratmsft bwateratmsft merged commit cb30f92 into main Mar 29, 2021
@bwateratmsft bwateratmsft deleted the bmw/opn branch March 29, 2021 19:37
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