aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Check/Recency.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Check/Recency.pm b/lib/Youri/Submit/Check/Recency.pm
index b34a0eb..31a0b41 100644
--- a/lib/Youri/Submit/Check/Recency.pm
+++ b/lib/Youri/Submit/Check/Recency.pm
@@ -29,7 +29,7 @@ sub run {
push(
@errors,
"Current or newer revision(s) already exists in $section for $target: " .
- join(', ', @revisions)
+ join(', ', map { $_->get_revision } @revisions)
);
}
@@ -49,7 +49,7 @@ sub run {
push(
@errors,
"Current or newer revision(s) already exists in $section for $target: " .
- join(', ', @default_revisions)
+ join(', ', map { $_->get_revision } @revisions)
);
}
$define->{section} = $defined_section;