mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(rubocop) Fix Style/ZeroLengthPredicate
This commit is contained in:
parent
1272343cdd
commit
1cf00a5a4c
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ class Pooler
|
||||||
|
|
||||||
os_string = os_string.chomp('+')
|
os_string = os_string.chomp('+')
|
||||||
|
|
||||||
if os_string.size == 0
|
if os_string.empty?
|
||||||
raise MissingParamError, 'No operating systems provided to obtain.'
|
raise MissingParamError, 'No operating systems provided to obtain.'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue