Commit 189df62e authored by Arturo Herrero's avatar Arturo Herrero

Remove ternary operator

parent ab81251d
......@@ -187,7 +187,7 @@ class Service < ApplicationRecord
# Disable test for instance-level services.
# https://gitlab.com/gitlab-org/gitlab/-/issues/213138
def can_test?
instance? ? false : true
!instance?
end
# Provide convenient accessor methods
......
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