From: Haelwenn (lanodan) Monnier Date: Tue, 13 Oct 2020 17:54:24 +0000 (+0200) Subject: Move Consistency.FileLocation to ./test X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=f5d8af1db118ba87fccf59e3150d2c1dd58fd492;p=akkoma Move Consistency.FileLocation to ./test This fixes a compilation fail because of Credo's absence in MIX_ENV=prod --- diff --git a/.credo.exs b/.credo.exs index 83e34a2b4..b85898af3 100644 --- a/.credo.exs +++ b/.credo.exs @@ -25,7 +25,7 @@ # # If you create your own checks, you must specify the source files for # them here, so they can be loaded by Credo before running the analysis. - requires: ["./lib/credo/check/consistency/file_location.ex"], + requires: ["./test/credo/check/consistency/file_location.ex"], # # Credo automatically checks for updates, like e.g. Hex does. # You can disable this behaviour below: diff --git a/lib/credo/check/consistency/file_location.ex b/test/credo/check/consistency/file_location.ex similarity index 100% rename from lib/credo/check/consistency/file_location.ex rename to test/credo/check/consistency/file_location.ex