minimal-racket: add a comma after the last parameter of a multiline method call (#10984)

This commit is contained in:
Miguel Araújo 2017-03-13 03:39:51 -03:00 committed by FX Coudert
parent 2631198561
commit 7fdde90202

View file

@ -37,11 +37,11 @@ class MinimalRacket < Formula
inreplace etc/"racket/config.rktd" do |s|
s.gsub!(
/\(bin-dir\s+\.\s+"#{Regexp.quote(bin)}"\)/,
"(bin-dir . \"#{HOMEBREW_PREFIX}/bin\")"
"(bin-dir . \"#{HOMEBREW_PREFIX}/bin\")",
)
s.gsub!(
/\n\)$/,
"\n (default-scope . \"installation\")\n)"
"\n (default-scope . \"installation\")\n)",
)
end
end