[前][次][番号順一覧][スレッド一覧]

ruby-changes:56667

From: Hiroshi <ko1@a...>
Date: Fri, 26 Jul 2019 17:34:39 +0900 (JST)
Subject: [ruby-changes:56667] Hiroshi SHIBATA: 348c9687bf (master): Escape parentheses for syntax hilighting for VScode.

https://git.ruby-lang.org/ruby.git/commit/?id=348c9687bf

From 348c9687bf0454fce787e0d4886fe244831b0a84 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 26 Jul 2019 15:45:18 +0800
Subject: Escape parentheses for syntax hilighting for VScode.


diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index f67c868..aa98f60 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -266,7 +266,7 @@ end https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L266
 
 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")
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]