Fix rubocop

This commit is contained in:
Shinya Maeda 2017-04-06 21:01:30 +09:00
parent fff6afbad1
commit 9441c01484
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module Ci
def schedule_next_run!
save! # with set_next_run_at
rescue ActiveRecord::RecordInvalid => invalid
rescue ActiveRecord::RecordInvalid
update_attribute(:next_run_at, nil) # update without validation
end
end