-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
use absolute directories paths while deriving targets #6544
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
thanks for the change, can you add a test for this, maybe in https://github.com/bazelbuild/intellij/blob/master/java/tests/unittests/com/google/idea/blaze/java/sync/importer/BlazeJavaWorkspaceImporterTest.java? |
Hey, @mai93, thanks for the quick review! I had to add a new test class with the I also had to change Let me know if it is not ok for you |
Hey, @mai93 @tpasternak @agluszak @jastice! |
} | ||
|
||
protected static String getQueryString(ImportRoots directories, boolean allowManualTargetsSync) { | ||
protected static String getQueryString(ImportRoots directories, boolean allowManualTargetsSync, WorkspacePathResolver pathResolver) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you make it public and annotate it with @VisibleForTesting instead of changing the package in the test target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Checklist
Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number: #6439
Description of this change
Use absolute paths for directories excluded from project view