Skip to content

Commit 1aa3e27

Browse files
(PE-42498) output bolt version
1 parent 82cb25d commit 1aa3e27

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

functions/assert_supported_bolt_version.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ function peadm::assert_supported_bolt_version (
77
# No arguments
88
) >> Struct[{ 'supported' => Boolean }] {
99
$supported_bolt_version = '>= 3.17.0 < 6.0.0'
10+
$current_bolt_version = peadm::bolt_version()
1011
$supported = (peadm::bolt_version() =~ SemVerRange($supported_bolt_version))
12+
out::message("Bolt version: ${current_bolt_version}")
1113
# lint:ignore:strict_indent
1214
unless $supported {
1315
fail(@("REASON"/L))

0 commit comments

Comments
 (0)