Skip to content
Snippets Groups Projects
Commit b5466040 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix #545

parent 22027e31
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,8 @@ class Git::Providers::Gitlab < Git::Providers::Abstract
end
def branch
super || 'main'
super.present? ? super
: 'main'
end
protected
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment