Skip to content

Commit

Permalink
Fixes Azure#272 Using get_ext_repo_paths to get repo paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Mullender committed Nov 18, 2020
1 parent 87605f5 commit 59cd100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azdev/operations/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

from azdev.utilities import (
display, heading, subheading, py_cmd, get_path_table, EXTENSION_PREFIX,
get_azdev_config, get_azdev_config_dir, require_azure_cli, filter_by_git_diff)
get_azdev_config, get_azdev_config_dir, get_ext_repo_paths, require_azure_cli, filter_by_git_diff)


logger = get_logger(__name__)
Expand Down Expand Up @@ -201,7 +201,7 @@ def _config_file_path(style_type="pylint"):

ext_repo_path = filter(
lambda x: "azure-cli-extension" in x,
get_azdev_config().get("ext", "repo_paths").split(),
get_ext_repo_paths(),
)
try:
ext_repo_path = next(ext_repo_path)
Expand Down

0 comments on commit 59cd100

Please sign in to comment.