Seeds: scope compiler_options to seed run, restore in after

Remove global ignore_module_conflict from mix.exs. Set it only in
seeds.exs during eval_file and restore via try/after so crashes
do not leave the option enabled.
This commit is contained in:
Moritz 2026-03-04 17:08:27 +01:00
parent 70c3ca82ea
commit a98d921848
Signed by: moritz
GPG key ID: 1020A035E5DD0824
2 changed files with 16 additions and 10 deletions

View file

@ -2,8 +2,6 @@ defmodule Mv.MixProject do
use Mix.Project
def project do
Code.compiler_options(ignore_module_conflict: true)
[
app: :mv,
version: "0.1.0",