|
|
|
@ -989,7 +989,12 @@ private
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def find_repo_name
|
|
|
|
|
@repo_path = @shixun.try(:repo_path)
|
|
|
|
|
# 有私密版本库的参数时,需要拿私密仓库
|
|
|
|
|
@repo_path = if params[:secret_repositoy]
|
|
|
|
|
@shixun.shixun_secret_repository&.repo_path
|
|
|
|
|
else
|
|
|
|
|
@shixun.try(:repo_path)
|
|
|
|
|
end
|
|
|
|
|
@path = params[:path]
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|