Skip to content

Commit 4323830

Browse files
committed
OTWO-6189 Removed Rubocop Directive
1 parent abf60fa commit 4323830

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/ohloh_scm/validation.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ def validate
2222

2323
def validate_server_connection; end
2424

25-
# rubocop:disable Metrics/AbcSize
2625
def validate_attributes
2726
@errors = []
2827
@errors << url_errors
@@ -31,9 +30,7 @@ def validate_attributes
3130
@errors << password_errors if scm.password
3231
@errors.compact!
3332
end
34-
# rubocop:enable Metrics/AbcSize
3533

36-
# rubocop:disable Metrics/AbcSize
3734
def url_errors
3835
error = if scm.url.nil? || scm.url.empty?
3936
"The URL can't be blank."
@@ -45,7 +42,6 @@ def url_errors
4542

4643
[:url, error] if error
4744
end
48-
# rubocop:enable Metrics/AbcSize
4945

5046
def branch_name_errors
5147
if scm.branch_name.to_s.empty?

0 commit comments

Comments
 (0)