Commit 1a07d97e authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Checks::ProjectMoved: applying rubocop rule

--HG--
branch : heptapod
parent 95db1a4943c9
......@@ -15,12 +15,14 @@ def message
message = "Project '#{redirected_path}' was moved "\
"to '#{project.full_path}'.\n\n"
if project.mercurial?
message += " Please update your Mercurial path:\n\n hg config -l"
else
message += "Please update your Git remote:\n\n"\
" git remote set-url origin #{url_to_repo}\n"
end
message +=
if project.mercurial?
" Please update your Mercurial path:\n\n hg config -l"
else
"Please update your Git remote:\n\n"\
" git remote set-url origin #{url_to_repo}\n"
end
message
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