Skip to content

Commit

Permalink
Fix treat_as_own (#153)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored Jun 26, 2023
1 parent c7eb4d4 commit b03324e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/piracy.jl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ hunt(mod::Module; from::Module = mod, kwargs...) =

function hunt(pkg::Base.PkgId; from::Module, kwargs...)
filter(all_methods(from)) do method
Base.PkgId(method.module) === pkg && is_pirate(method, kwargs...)
Base.PkgId(method.module) === pkg && is_pirate(method; kwargs...)
end
end

Expand Down

0 comments on commit b03324e

Please sign in to comment.