From eb23ed9aa645923052270125f56d4831a4343060 Mon Sep 17 00:00:00 2001 From: Jacob Bachmeyer Date: Sat, 12 Nov 2022 23:53:35 -0600 Subject: [PATCH] Rename validate_commands to validate_directive A new validate_commands procedure is planned that runs during VL phase. --- gatekeeper.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gatekeeper.pl b/gatekeeper.pl index 385bf5a..7afb0e0 100755 --- a/gatekeeper.pl +++ b/gatekeeper.pl @@ -2185,7 +2185,7 @@ sub guess_email_address_from_signature { } } -=item validate_commands ( $packet, $oplist ) +=item validate_directive ( $packet, $oplist ) Validate the commands in OPLIST as applicable to PACKET. PACKET is an arrayref listing the files considered to be in this packet. OPLIST is an @@ -2195,7 +2195,7 @@ An exception is thrown if validation fails. =cut -sub validate_commands { +sub validate_directive { my $packet = shift; my $ops = shift; @@ -2732,7 +2732,7 @@ foreach my $packet (@packets) { # each list element is an array reference debug($directive_text, '') if DEBUG; } - validate_commands($packet, $oplist); + validate_directive($packet, $oplist); $Phase = 'AA'; # Check that we have a keyring for this package: -- 2.25.1