Commit ccd8c16b authored by Ahmad Sherif's avatar Ahmad Sherif
Browse files

Fix a rubocop offense

parent e6194703
Pipeline #23552 passed with stage
in 1 minute and 14 seconds
......@@ -122,7 +122,8 @@ module GitLab
cmd_splitted = cmd.split("\u0000") # cmdline does not return it space-separated
cmd_splitted.shift # Because it's "git"
cmd_splitted.shift while cmd_splitted.first && (cmd_splitted.first.empty? || cmd_splitted.first !~ /^[^-][a-z\-]*$/)
cmd_splitted.shift while cmd_splitted.first &&
(cmd_splitted.first.empty? || cmd_splitted.first !~ /^[^-][a-z\-]*$/)
cmd_splitted[0]
end
......
Supports Markdown
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