From f5d8af1db118ba87fccf59e3150d2c1dd58fd492 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 13 Oct 2020 19:54:24 +0200 Subject: [PATCH] Move Consistency.FileLocation to ./test This fixes a compilation fail because of Credo's absence in MIX_ENV=prod --- .credo.exs | 2 +- {lib => test}/credo/check/consistency/file_location.ex | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename {lib => test}/credo/check/consistency/file_location.ex (100%) 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