Skip to content

Commit 8db08d0

Browse files
committed
Fix oneshot:remove_duplicates
1 parent b44b6e5 commit 8db08d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/temporary/oneshot.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace :oneshot do
1212
next
1313
end
1414

15-
if run = benchmark_type.benchmark_runs.where(initiator: commit, benchmark_result_type: type)
15+
if run = benchmark_type.benchmark_runs.find_by(initiator: commit, benchmark_result_type: type)
1616
run.destroy
1717
end
1818
end

0 commit comments

Comments
 (0)