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

error: isMainProcess(Context) has private access in SonarUtils #14

Closed
andreiverdes opened this issue Jun 11, 2018 · 2 comments
Closed

Comments

@andreiverdes
Copy link
Contributor

Pretty explanatory from the title :D
Trying to setup Sonar and I'm having a compile issue

@rohfosho
Copy link

You can use SonarUtils.shouldEnableClient(this) instead.

This checks if it's the main process, an end to end test, and if it's an internal build.

@andreiverdes
Copy link
Contributor Author

Oh okay, then :) the getting started guide was using that, closing this issue

andreiverdes added a commit to andreiverdes/Sonar that referenced this issue Jun 11, 2018
As per facebookGH-14 comment, the docs were pointing to an internal `private` method to check if `Sonar` should be enabled
facebook-github-bot pushed a commit that referenced this issue Jun 12, 2018
Summary:
As per GH-14 comment, the docs were pointing to an internal `private` method to check if `Sonar` should be enabled
Closes #23

Reviewed By: danielbuechele

Differential Revision: D8379336

Pulled By: jknoxville

fbshipit-source-id: bc580dc40a1994a2f4a30544d77f86b60e9353f6
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

No branches or pull requests

2 participants