Skip to content

Commit

Permalink
Rebuild recipe map if missing
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcspadden committed Sep 22, 2023
1 parent d3c18d4 commit 1c6389a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Code/autopkg
Original file line number Diff line number Diff line change
Expand Up @@ -2025,7 +2025,7 @@ def run_recipes(argv):
"-q",
"--quiet",
action="store_true",
help=("Don't offer to search Github if a recipe can't " "be found."),
help=("Don't offer to search Github if a recipe can't be found."),
)
add_search_and_override_dir_options(parser)
(options, arguments) = common_parse(parser, argv)
Expand All @@ -2034,7 +2034,7 @@ def run_recipes(argv):
search_dirs = options.search_dirs or get_search_dirs()

# First, populate the recipe map
read_recipe_map()
read_recipe_map(rebuild=True)

# initialize some variables
summary_results = {}
Expand Down
1 change: 0 additions & 1 deletion Code/autopkglib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,6 @@ def read_recipe_map(rebuild: bool = False, allow_continuing: bool = False) -> No
"\nTry adding or removing a repo to rebuild it."
)
sys.exit(1)
# If rebuild is False and we are allowing to continue, just return


def get_autopkg_version():
Expand Down

0 comments on commit 1c6389a

Please sign in to comment.