Skip to content

Commit

Permalink
Correct var naming
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGithubUser committed Aug 16, 2023
1 parent fa93441 commit d1da627
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/commands/initialize_pysa.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

Expand Down

0 comments on commit d1da627

Please sign in to comment.