cask/config: fix explicit_s
This commit is contained in:
parent
d2430bcf50
commit
d0200e8737
@ -188,7 +188,7 @@ module Cask
|
||||
# inverse of #env - converts :languages config key back to --language flag
|
||||
if key == :languages
|
||||
key = "language"
|
||||
value = languages.join(",")
|
||||
value = T.cast(explicit.fetch(:languages, []), T::Array[String]).join(",")
|
||||
end
|
||||
"#{key}: \"#{value.to_s.sub(/^#{ENV['HOME']}/, "~")}\""
|
||||
end.join(", ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user