Commit 6d23be22 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix gitlab-shell access for any kind of branch

parent dc2cfad4
......@@ -11,10 +11,11 @@ class GitlabNet
project_name = repo.gsub("'", "")
project_name = project_name.gsub(/\.git\Z/, "")
project_name = project_name.gsub(/\A\//, "")
changes = changes.join("\n") unless changes.kind_of?(String)
params = {
action: cmd,
changes: changes.join("\n"),
changes: changes,
project: project_name,
}
......
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