indentation
This commit is contained in:
parent
b20fc14133
commit
c821412e30
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class GitPushService
|
|||
|
||||
# Set protection on the default branch if configured
|
||||
if (current_application_settings.default_branch_protection != PROTECTION_NONE)
|
||||
developers_can_push = current_application_settings.default_branch_protection == PROTECTION_DEV_CAN_PUSH ? true : false
|
||||
developers_can_push = current_application_settings.default_branch_protection == PROTECTION_DEV_CAN_PUSH ? true : false
|
||||
project.protected_branches.create({ name: project.default_branch, developers_can_push: developers_can_push })
|
||||
end
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue