mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #6092 from dearblue/lockfile
Get from local only if there is no default branch name
This commit is contained in:
@@ -299,7 +299,7 @@ module MRuby
|
||||
@build.gem_dir_to_repo_url[repo_dir] = url
|
||||
@build.locks[url] = {
|
||||
'url' => url,
|
||||
'branch' => @build.git.current_branch(repo_dir),
|
||||
'branch' => branch || @build.git.current_branch(repo_dir),
|
||||
'commit' => @build.git.commit_hash(repo_dir),
|
||||
}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user