2018-06-27 07:23:28 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-02-19 18:09:10 +00:00
|
|
|
class CreateNoteDiffFileWorker # rubocop:disable Scalability/IdempotentWorker
|
2018-05-16 15:46:18 +00:00
|
|
|
include ApplicationWorker
|
|
|
|
|
2019-10-18 11:11:44 +00:00
|
|
|
feature_category :source_code_management
|
|
|
|
|
2018-05-16 15:46:18 +00:00
|
|
|
def perform(diff_note_id)
|
|
|
|
diff_note = DiffNote.find(diff_note_id)
|
|
|
|
|
|
|
|
diff_note.create_diff_file
|
|
|
|
end
|
|
|
|
end
|