mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-04-20 02:03:59 +02:00
Add exclusion for PhilomenaWeb.Config compile-time variance
This commit is contained in:
parent
abf983528f
commit
026530374a
1 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,8 @@
|
|||
defmodule PhilomenaWeb.Config do
|
||||
# Dialyzer only analyzes beam files directly and cannot see the compile-time variance in
|
||||
# the associated values, so it flags a false positive here.
|
||||
@dialyzer [:no_match]
|
||||
|
||||
@reload_enabled Application.compile_env(:philomena, :vite_reload, false)
|
||||
@csp_relaxed Application.compile_env(:philomena, :csp_relaxed, false)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue