aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-02 00:59:18 +0100
committerOlivier Blin <dev@blino.org>2015-11-02 00:59:18 +0100
commitee9fb694131d4225157c0b565cf2c6b4d1149de4 (patch)
treee98bc580e6a5646ca996f071a4efc5d156063b9d /lib/Youri
parentab2ec1d88ebb672818619727b67189ca686b73d8 (diff)
downloadmga-youri-submit-ee9fb694131d4225157c0b565cf2c6b4d1149de4.tar
mga-youri-submit-ee9fb694131d4225157c0b565cf2c6b4d1149de4.tar.gz
mga-youri-submit-ee9fb694131d4225157c0b565cf2c6b4d1149de4.tar.bz2
mga-youri-submit-ee9fb694131d4225157c0b565cf2c6b4d1149de4.tar.xz
mga-youri-submit-ee9fb694131d4225157c0b565cf2c6b4d1149de4.zip
Fixup of previous commit to print errors for proper revisions
Diffstat (limited to 'lib/Youri')
-rw-r--r--lib/Youri/Submit/Check/Recency.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Check/Recency.pm b/lib/Youri/Submit/Check/Recency.pm
index 31a0b41..54c1c52 100644
--- a/lib/Youri/Submit/Check/Recency.pm
+++ b/lib/Youri/Submit/Check/Recency.pm
@@ -49,7 +49,7 @@ sub run {
push(
@errors,
"Current or newer revision(s) already exists in $section for $target: " .
- join(', ', map { $_->get_revision } @revisions)
+ join(', ', map { $_->get_revision } @default_revisions)
);
}
$define->{section} = $defined_section;