Skip to content

Commit

Permalink
style: suggestion from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
jdjaustin committed Sep 12, 2023
1 parent c6228ef commit 202c80a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/modules/benchmark/service/bench.rb
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def run_benchmarks(benchmarks, options)
Dir.chdir(WORKING_DIR) do
benchmarks_loop(benchmarks, options, bench_metrics)
end
handle_exception(nil) do
handle_exception(false) do
if options[:daily]
write_csv(bench_metrics, options)
else
Expand All @@ -291,7 +291,7 @@ def run_benchmarks(benchmarks, options)
@snapshot_downloaded = false

# Download snapshot if a snapshot path is not specified by the user.
handle_exception(nil) do
handle_exception(false) do
if @snapshot_path.nil?
@logger.info 'No snapshot provided, downloading one'
download_snapshot(chain: options[:chain])
Expand Down

0 comments on commit 202c80a

Please sign in to comment.