Commit 9441c014 authored by Shinya Maeda's avatar Shinya Maeda

Fix rubocop

parent fff6afba
...@@ -23,7 +23,7 @@ module Ci ...@@ -23,7 +23,7 @@ module Ci
def schedule_next_run! def schedule_next_run!
save! # with set_next_run_at save! # with set_next_run_at
rescue ActiveRecord::RecordInvalid => invalid rescue ActiveRecord::RecordInvalid
update_attribute(:next_run_at, nil) # update without validation update_attribute(:next_run_at, nil) # update without validation
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment