Appease rubocop.
This commit is contained in:
parent
dffdc7b27c
commit
4d00ed21eb
|
|
@ -108,7 +108,6 @@ module Gitlab
|
|||
actor if actor.is_a?(DeployKey)
|
||||
end
|
||||
|
||||
|
||||
def deploy_key_can_read_project?
|
||||
if deploy_key
|
||||
deploy_key.projects.include?(project)
|
||||
|
|
|
|||
|
|
@ -128,7 +128,6 @@ describe Gitlab::GitAccess, lib: true do
|
|||
rugged = project.repository.rugged
|
||||
author = { email: "email@example.com", time: Time.now, name: "Example Git User" }
|
||||
|
||||
|
||||
merge_index = rugged.merge_commits(target_branch, source_branch)
|
||||
Rugged::Commit.create(rugged, author: author, committer: author, message: "commit message", parents: [target_branch, source_branch], tree: merge_index.write_tree(rugged))
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in New Issue