Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nest
Forks
Puppet Portage
Commits
e3f2ccf3
Unverified
Commit
e3f2ccf3
authored
Oct 16, 2018
by
Robin H. Johnson
Browse files
PortageVersion: show bad version string in exception
Signed-off-by:
Robin H. Johnson
<
robbat2@gentoo.org
>
parent
a256044b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lib/puppet/property/portage_version.rb
lib/puppet/property/portage_version.rb
+1
-1
No files found.
lib/puppet/property/portage_version.rb
View file @
e3f2ccf3
...
@@ -7,7 +7,7 @@ class Puppet::Property::PortageVersion < Puppet::Property
...
@@ -7,7 +7,7 @@ class Puppet::Property::PortageVersion < Puppet::Property
validate
do
|
value
|
validate
do
|
value
|
unless
Puppet
::
Util
::
Portage
.
valid_version?
value
unless
Puppet
::
Util
::
Portage
.
valid_version?
value
raise
ArgumentError
,
"
#{
nam
e
}
must be a properly formatted version"
raise
ArgumentError
,
"
'
#{
valu
e
}
'
must be a properly formatted version"
end
end
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment