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 browser detection code in node.js #4665

Merged
merged 2 commits into from
Sep 23, 2021
Merged

Conversation

brianpeiris
Copy link
Contributor

@brianpeiris brianpeiris commented Sep 23, 2021

Note this PR will be merged into the hubs-cloud branch. There will be a separate PR for the master branch.

In the last Hubs Cloud release, we added some browser detection code to store.js to workaround issues with Safari. This code is also in the code path for npm run login, but the detection code did not behave correctly in a node.js environment. This PR fixes that issue.

@brianpeiris
Copy link
Contributor Author

Build is failing because of prettier errors in other parts of the code. I've run all the other test/build/lint steps locally to make sure they are okay.

@brianpeiris brianpeiris merged commit 52f293e into hubs-cloud Sep 23, 2021
@brianpeiris brianpeiris deleted the fix-browser-detect branch September 23, 2021 15:58
@brianpeiris
Copy link
Contributor Author

Correction: We do not need to fix this issue in the master branch, since the safari workaround was implemented in a different way in #4594

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.

1 participant