Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bazel: Fix relative go to definition in external repositories (#103)
Summary: The resolve root was calculated incorrectly for relative load statements in external repositories. Instead of removing the file's path relative to the external repository, it only kept this part. For example if the current file is `$(bazel info output_base)/external/foo/bar/BUILD`, it would compute the resolve root as `bar/BUILD`, whereas it needs to be `$(bazel info output_base)/external/foo`. Pull Request resolved: #103 Reviewed By: stepancheg Differential Revision: D52887182 Pulled By: ndmitchell fbshipit-source-id: 3025ae7be81a85976f2e250c104de7163db6a6a5
- Loading branch information