Pārlūkot izejas kodu

Changed order for readability

Alois Mahdal (@azzgoat) 12 gadus atpakaļ
vecāks
revīzija
52d66019c8
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2
    1
      lib/SugarTrail/Template/Master.pm

+ 2
- 1
lib/SugarTrail/Template/Master.pm Parādīt failu

@@ -63,9 +63,10 @@ sub _parse_body {
63 63
 sub generate_slave {
64 64
     my $self = shift;
65 65
     my $args = shift;
66
-    $self->parse() unless $self->{parsed};
67 66
     my $slave = SugarTrail::Template::Slave->new($args);
68 67
 
68
+    $self->parse() unless $self->{parsed};
69
+
69 70
     my @slave_steps;
70 71
     STEP: foreach my $master_step (@{ $self->{steps} }) {
71 72
         my $accept = 1;     # accept by default