cmd/postgresql-upgrade-database: fix RuboCop Style/ConditionalAssignment.
parent
bc4e9ade51
commit
fd22985e33
|
@ -101,10 +101,10 @@ module Homebrew
|
||||||
|
|
||||||
next if value.empty?
|
next if value.empty?
|
||||||
|
|
||||||
if setting == "server_encoding"
|
initdb_args += if setting == "server_encoding"
|
||||||
initdb_args += ["-E #{value}"]
|
["-E #{value}"]
|
||||||
else
|
else
|
||||||
initdb_args += ["--#{setting.tr!("_", "-")}=#{value}"]
|
["--#{setting.tr!("_", "-")}=#{value}"]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue