Skip to content

Commit

Permalink
credo fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
PragTob committed Jan 5, 2025
1 parent b0b0003 commit 93b4444
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/benchee/profile.ex
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ defmodule Benchee.Profile do
@builtin_profilers [:cprof, :eprof, :fprof]
# https://hexdocs.pm/mix/1.17.0/Mix.Tasks.Profile.Tprof.html
# Tprof was introduced in elixir 1.17.0 and requires OTP 27
# Elixir errors out fine, but our test kind of put their trust into `builtin_profilers` being runnable.
# Elixir errors out fine, but our test kind of put their trust into `builtin_profilers`
# being runnable.
if Version.match?(System.version(), ">= 1.17.0") && String.to_integer(System.otp_release()) >= 27 do
@builtin_profilers [:tprof | @builtin_profilers]
end
Expand Down

0 comments on commit 93b4444

Please sign in to comment.