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

chore: wrap osName() in try-catch #4231

Merged
merged 1 commit into from Dec 5, 2022

Conversation

PeterSchafer
Copy link
Contributor

Signed-off-by: Peter Schäfer 101886095+PeterSchafer@users.noreply.github.com

What does this PR do?

Add try-catch block around the usage of os-name which throws an exception on macOS Ventura.

Signed-off-by: Peter Schäfer <101886095+PeterSchafer@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

Warnings
⚠️

Since the CLI is unifying on a standard and improved tooling, we're starting to migrate old-style imports and exports to ES6 ones.
A file you've modified is using either module.exports or require(). If you can, please update them to ES6 import syntax and export syntax.
Files found:

  • src/lib/analytics/getStandardData.ts
⚠️

You've modified files in src/ directory, but haven't updated anything in test folder. Is there something that could be tested?

Generated by 🚫 dangerJS against ead1824

@PeterSchafer PeterSchafer merged commit f6d7eb2 into master Dec 5, 2022
@PeterSchafer PeterSchafer deleted the chore/HMMR-614_analytics_exception_handling branch December 5, 2022 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants