Commit e8e0461e authored by Elan Ruusamäe's avatar Elan Ruusamäe

remove extra spaces from app/workers/post_receive.rb

parent e2e3f196
...@@ -16,7 +16,7 @@ class PostReceive ...@@ -16,7 +16,7 @@ class PostReceive
post_received = Gitlab::GitPostReceive.new(repo_path, identifier, changes) post_received = Gitlab::GitPostReceive.new(repo_path, identifier, changes)
if post_received.project.nil? if post_received.project.nil?
log("Triggered hook for non-existing project with full path \"#{repo_path} \"") log("Triggered hook for non-existing project with full path \"#{repo_path}\"")
return false return false
end end
...@@ -25,7 +25,7 @@ class PostReceive ...@@ -25,7 +25,7 @@ class PostReceive
elsif post_received.regular_project? elsif post_received.regular_project?
process_project_changes(post_received) process_project_changes(post_received)
else else
log("Triggered hook for unidentifiable repository type with full path \"#{repo_path} \"") log("Triggered hook for unidentifiable repository type with full path \"#{repo_path}\"")
false false
end end
end end
...@@ -37,7 +37,7 @@ class PostReceive ...@@ -37,7 +37,7 @@ class PostReceive
@user ||= post_received.identify(newrev) @user ||= post_received.identify(newrev)
unless @user unless @user
log("Triggered hook for non-existing user \"#{post_received.identifier} \"") log("Triggered hook for non-existing user \"#{post_received.identifier}\"")
return false return false
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment