mirror of https://github.com/zulip/zulip.git
puppet: Reformat Ruby functions with rufo.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
f26ac80ea1
commit
614ab533dc
|
@ -8,7 +8,7 @@ module Puppet::Parser::Functions
|
||||||
if [true, false].include? default
|
if [true, false].include? default
|
||||||
# If the default is a bool, coerce into a bool. This list is also
|
# If the default is a bool, coerce into a bool. This list is also
|
||||||
# maintained in scripts/lib/zulip_tools.py
|
# maintained in scripts/lib/zulip_tools.py
|
||||||
['1','y','t','true','yes','enable','enabled'].include? output.strip.downcase
|
["1", "y", "t", "true", "yes", "enable", "enabled"].include? output.strip.downcase
|
||||||
else
|
else
|
||||||
output.strip
|
output.strip
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue