From d1da627d633dd4b3b66423f1b934e3b301273173 Mon Sep 17 00:00:00 2001 From: Wang <120731947+WangGithubUser@users.noreply.github.com> Date: Wed, 16 Aug 2023 21:11:21 +0800 Subject: [PATCH] Correct var naming --- client/commands/initialize_pysa.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/commands/initialize_pysa.py b/client/commands/initialize_pysa.py index 1d1a7ec2377..725f219d830 100644 --- a/client/commands/initialize_pysa.py +++ b/client/commands/initialize_pysa.py @@ -73,10 +73,10 @@ def _setup_environment() -> None: run_infer = log.get_yes_no_input("Would you like to generate type annotations?") if run_infer: subprocess.run(["pyre", "infer", "-i"], check=True) - pyre_check_path = find_pysa_filters_directory() - if pyre_check_path is not None: + pysa_filter_path = find_pysa_filters_directory() + if pysa_filter_path is not None: LOG.info("Importing filters to sapp") - subprocess.run(["sapp", "filter", "import", pyre_check_path], check=True) + subprocess.run(["sapp", "filter", "import", pysa_filter_path], check=True) else: LOG.warning("Couldn't infer filter directory, skipping filter import to sapp.")