Skip to content

Commit

Permalink
The publish_all method throws its files through a quick sort, for the…
Browse files Browse the repository at this point in the history
… sake of more consistent testing.
  • Loading branch information
jmacdotorg committed Mar 27, 2016
1 parent 1581c9b commit 020db28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Plerd.pm
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ sub publish_all {
my $self = shift;

$self->files_to_publish(
[ grep { /\.markdown$|\.md$/ } $self->source_directory->children ]
[ sort grep { /\.markdown$|\.md$/ } $self->source_directory->children ]
);

$self->publish;
Expand Down

0 comments on commit 020db28

Please sign in to comment.