Merge pull request #6321 from dearblue/lib-warnings

This commit is contained in:
Yukihiro "Matz" Matsumoto
2024-08-13 11:48:21 +09:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -317,7 +317,7 @@ module MRuby
end
def commit_hash(dir)
`#{@command} --git-dir #{shellquote(dir +'/.git')} --work-tree #{shellquote(dir)} rev-parse --verify HEAD`.strip
`#{@command} --git-dir #{shellquote(dir + '/.git')} --work-tree #{shellquote(dir)} rev-parse --verify HEAD`.strip
end
def current_branch(dir)
+2 -2
View File
@@ -465,8 +465,8 @@ module MRuby
table.instance_variable_set :@root_gems, ary
class << table
include TSort
def tsort_each_node &b
@root_gems.each &b
def tsort_each_node(&b)
@root_gems.each(&b)
end
def tsort_each_child(n, &b)