Skip to content

Commit

Permalink
write code more short
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertJoonas committed Jan 23, 2025
1 parent b07e7be commit 4470d11
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/plausible/stats/query_result.ex
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ defmodule Plausible.Stats.QueryResult do
_ -> main_query.skip_imported_reason
end

imports_warning =
if imports_skip_reason in Map.keys(@imports_warnings) do
@imports_warnings[imports_skip_reason]
end
imports_warning = @imports_warnings[imports_skip_reason]

%{
imports_included: imports_included,
Expand Down

0 comments on commit 4470d11

Please sign in to comment.