Skip to content

Commit

Permalink
Fixing stupid error
Browse files Browse the repository at this point in the history
  • Loading branch information
bergel committed Dec 18, 2024
1 parent 7643067 commit a82f0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linting/extended_checks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ function all_arguments_are_safe(x::EXPR)
return true
end

function check(t::LogStatementsMustBeSafe, x::EXPR)
function check(t::LogStatementsMustBeSafe, x::EXPR, markers::Dict{Symbol,String})
if haskey(markers, :filename)
# Must have "src/" in the file name, else we just
contains(markers[:filename], "test/") && return
Expand Down

0 comments on commit a82f0b5

Please sign in to comment.