Skip to content

Commit

Permalink
Skip redundant EndOfCheckPhase validation
Browse files Browse the repository at this point in the history
  • Loading branch information
homebysix committed Nov 26, 2019
1 parent 92bec54 commit d8fe94a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pre_commit_hooks/check_autopkg_recipes.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,9 @@ def validate_required_proc_for_types(process, filename):
# For each recipe type, this is the list of processors that
# MUST exist in that type. Uses "OR" logic, not "AND."
required_proc_for_type = {
"download": ["EndOfCheckPhase"],
# Skipping EndOfCheckPhase because validate_endofcheckphase()
# already tests this.
# "download": ["EndOfCheckPhase"],
"munki": ["MunkiImporter"],
"pkg": ["AppPkgCreator", "PkgCreator", "PkgCopier"],
"install": ["InstallFromDMG", "Installer"],
Expand Down

0 comments on commit d8fe94a

Please sign in to comment.