Fix: Buildifier cannot find .buildifier-tables.json when run from a subdirectory#1312
Merged
vladmos merged 8 commits intobazelbuild:mainfrom Jan 14, 2025
dpleshakov:issue_addtables_path
Merged
Fix: Buildifier cannot find .buildifier-tables.json when run from a subdirectory#1312vladmos merged 8 commits intobazelbuild:mainfrom dpleshakov:issue_addtables_path
.buildifier-tables.json when run from a subdirectory#1312vladmos merged 8 commits intobazelbuild:mainfrom
dpleshakov:issue_addtables_path
Conversation
…ables Configuration This commit addresses an issue where Buildifier fails to locate the .buildifier-tables.json file when specifying a relative path in the AddTables configuration and running Buildifier from subdirectories within the workspace.
Contributor
Author
|
Does anyone know how to get tests logs from macOS into account the error below? |
Buildifier cannot find .buildifier-tables.json when run from a subdirectory within the workspace..buildifier-tables.json when run from a subdirectory
Contributor
Author
Ok ,the issue was related to the |
Contributor
Author
|
@vladmos can you please review it? |
vladmos
approved these changes
Jan 14, 2025
This was referenced Jan 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix the issue where Buildifier fails to locate the
.buildifier-tables.jsonfile when specifying a relative path in theAddTablesconfiguration and running Buildifier from subdirectories within the workspace. Adding thefindTablesPathfunction similar to theFindConfigPathto search for.buildifier-tables.json.Fix #1311