From 0ee51992a89319c3c0d0f7485f1c4e9e2953bc8a Mon Sep 17 00:00:00 2001 From: href Date: Fri, 14 Dec 2018 18:14:40 +0100 Subject: [PATCH] Enable warning_as_errors for tests --- mix.exs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/mix.exs b/mix.exs index 0fb40e07b..2bd67f2a1 100644 --- a/mix.exs +++ b/mix.exs @@ -8,12 +8,7 @@ defmodule Pleroma.Mixfile do elixir: "~> 1.4", elixirc_paths: elixirc_paths(Mix.env()), compilers: [:phoenix, :gettext] ++ Mix.compilers(), - elixirc_options: - if Mix.env() == :test do - [] - else - [warnings_as_errors: true] - end, + elixirc_options: [warnings_as_errors: true], start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps(), -- 2.45.2