We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b44b6e5 commit 8db08d0Copy full SHA for 8db08d0
1 file changed
lib/tasks/temporary/oneshot.rake
@@ -12,7 +12,7 @@ namespace :oneshot do
12
next
13
end
14
15
- if run = benchmark_type.benchmark_runs.where(initiator: commit, benchmark_result_type: type)
+ if run = benchmark_type.benchmark_runs.find_by(initiator: commit, benchmark_result_type: type)
16
run.destroy
17
18
0 commit comments