Ver código fonte

Changed order for readability

Alois Mahdal (@azzgoat) 12 anos atrás
pai
commit
52d66019c8
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      lib/SugarTrail/Template/Master.pm

+ 2
- 1
lib/SugarTrail/Template/Master.pm Ver arquivo

@@ -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