diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-07 15:16:46 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-07 15:16:46 +0100 |
commit | 128b1eae092e4ee9384c99a4ba72b9122fc17e89 (patch) | |
tree | 8eab2084903f6455c40e969cbc3d8ef02582288e /app/models/group_milestone.rb | |
parent | 68db614d17c3ad984f7a5698d02475f71bde8941 (diff) | |
download | gitlab-ce-128b1eae092e4ee9384c99a4ba72b9122fc17e89.tar.gz |
Update Rubocop to ruby 2.3zj-drop-ruby-21-tests
Diffstat (limited to 'app/models/group_milestone.rb')
-rw-r--r-- | app/models/group_milestone.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/group_milestone.rb b/app/models/group_milestone.rb index 7b6db2634b7..86d38e5468b 100644 --- a/app/models/group_milestone.rb +++ b/app/models/group_milestone.rb @@ -9,7 +9,7 @@ class GroupMilestone < GlobalMilestone def self.build(group, projects, title) super(projects, title).tap do |milestone| - milestone.group = group if milestone + milestone&.group = group end end |