1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Escape parentheses for syntax hilighting for VScode.

This commit is contained in:
Hiroshi SHIBATA 2019-07-26 15:45:18 +08:00
parent 51f22deadb
commit 348c9687bf
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -266,7 +266,7 @@ end
def sync_lib(repo)
unless File.directory?("../#{repo}")
abort %[Expected '../#{repo}' (#{File.expand_path("../#{repo}")}) to be a directory, but it wasn't.]
abort %[Expected '../#{repo}' \(#{File.expand_path("../#{repo}")}\) to be a directory, but it wasn't.]
end
rm_rf(["lib/#{repo}.rb", "lib/#{repo}/*", "test/test_#{repo}.rb"])
cp_r(Dir.glob("../#{repo}/lib/*"), "lib")