Skip to content

Commit

Permalink
Force calls to 'buck audit config android --json' to use buck2
Browse files Browse the repository at this point in the history
Summary: Need to make sure these inner invocations of `buck` use `buck2`, `buck1` is going to be completely removed and will stop working.

Reviewed By: navidqar

Differential Revision: D63890084

fbshipit-source-id: f09792ff91a53847aa61b892766dd051fc38a048
  • Loading branch information
Ian Childs authored and facebook-github-bot committed Oct 4, 2024
1 parent 3915a26 commit f77efcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyredex/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def add_android_sdk_path(self, path: str) -> None:
)

def _load_android_buckconfig_values(self) -> typing.Dict[str, typing.Any]:
cmd = ["buck", "audit", "config", "android", "--json"]
cmd = ["buck2", "audit", "config", "android", "--json"]
rdfb = self.root_dir_for_buck
cwd = rdfb if rdfb is not None else os.getcwd()
# Set NO_BUCKD to minimize disruption to any currently running buckd
Expand Down

0 comments on commit f77efcd

Please sign in to comment.