mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6321 from dearblue/lib-warnings
This commit is contained in:
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user