gen-config: port() gets its output chomp’d.
This commit is contained in:
parent
10dcca2392
commit
035420cc9a
@ -69,7 +69,7 @@ class Configure::Context
|
||||
options["environment"] = ENV["ENVIRONMENT"]? || ""
|
||||
options["port"] = Crinja.function do
|
||||
service = (arguments.varargs[0]? || "").to_s.gsub /\//, ':'
|
||||
`get-port #{service}`
|
||||
`get-port #{service}`.chomp
|
||||
end
|
||||
options["random_password"] = Crinja.function do
|
||||
id = (arguments.varargs[0]? || options["id"]).to_s
|
||||
|
Loading…
Reference in New Issue
Block a user