Skip to content

Commit

Permalink
Fixing logic for making an override by identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
nmcspadden committed Aug 29, 2023
1 parent 2b1fcce commit 98dfb7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/autopkglib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def find_recipe_by_identifier(
if valid_recipe_file(globalRecipeMap["overrides-identifiers"][identifier]):
log(f"Found {identifier} in recipe map overrides")
return globalRecipeMap["overrides-identifiers"][identifier]
if not skip_overrides and identifier in globalRecipeMap["identifiers"]:
if identifier in globalRecipeMap["identifiers"]:
if valid_recipe_file(globalRecipeMap["identifiers"][identifier]):
log(f"Found {identifier} in recipe map")
return globalRecipeMap["identifiers"][identifier]
Expand Down

0 comments on commit 98dfb7c

Please sign in to comment.