diff options
Diffstat (limited to 'lib/gitlab/legacy_github_import/release_formatter.rb')
-rw-r--r-- | lib/gitlab/legacy_github_import/release_formatter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/legacy_github_import/release_formatter.rb b/lib/gitlab/legacy_github_import/release_formatter.rb index a083ae60726..0fb7e376f5b 100644 --- a/lib/gitlab/legacy_github_import/release_formatter.rb +++ b/lib/gitlab/legacy_github_import/release_formatter.rb @@ -25,7 +25,7 @@ module Gitlab end def valid? - !raw_data.draft + !raw_data.draft && raw_data.tag_name.present? end end end |