diff options
author | Nobuyoshi Nakada <[email protected]> | 2022-09-30 10:17:46 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2022-09-30 10:39:42 +0900 |
commit | f70ba9cf805dc58d993e60fe2bb06d6c5e2f08cb () | |
tree | 4b32b3919617639298f5a11a3b96f4cb9ef37bb6 /tool/lib/vcs.rb | |
parent | 58b3a535cc899760aa69055fa54f4fcb85570dcd (diff) |
Check for the availability of the command when detecting
Notes: Merged: https://.com/ruby/ruby/pull/6473
-rw-r--r-- | tool/lib/vcs.rb | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -69,6 +69,9 @@ class VCS begin @@dirs.each do |dir, klass, pred| if pred ? pred[curr, dir] : File.directory?(File.join(curr, dir)) vcs = klass.new(curr) vcs.define_options(parser) if parser vcs.set_options(options) |