diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-22 21:11:12 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-22 21:11:12 +0300 |
commit | 1862f4a83ebb0a08a0da8269c568e1b93f75d55a (patch) | |
tree | bfec3ba41bedd2c138b60fdb5c2cc308932f16ee /app/services/issuable | |
parent | b6abc9850e69e4e2ab60fa6ababe25da97505edc (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/issuable')
-rw-r--r-- | app/services/issuable/import_csv/base_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/issuable/import_csv/base_service.rb b/app/services/issuable/import_csv/base_service.rb index 822e3cd787c..e84d1032e41 100644 --- a/app/services/issuable/import_csv/base_service.rb +++ b/app/services/issuable/import_csv/base_service.rb @@ -23,7 +23,7 @@ module Issuable with_csv_lines.each do |row, line_no| attributes = issuable_attributes_for(row) - if create_issuable(attributes).persisted? + if create_issuable(attributes)&.persisted? @results[:success] += 1 else @results[:error_lines].push(line_no) |