Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/generic_commit_status.rb')
-rw-r--r--app/models/generic_commit_status.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/models/generic_commit_status.rb b/app/models/generic_commit_status.rb
index b02074849a1..f795585dfc5 100644
--- a/app/models/generic_commit_status.rb
+++ b/app/models/generic_commit_status.rb
@@ -3,9 +3,7 @@
class GenericCommitStatus < CommitStatus
EXTERNAL_STAGE_IDX = 1_000_000
- validates :target_url, addressable_url: true,
- length: { maximum: 255 },
- allow_nil: true
+ validates :target_url, addressable_url: true, length: { maximum: 255 }, allow_nil: true
validate :name_uniqueness_across_types, unless: :importing?
# GitHub compatible API