logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: f5d8af1db118ba87fccf59e3150d2c1dd58fd492
parent 8b6221d4ecd1d7e354e7de831dd46e285cb85077
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 13 Oct 2020 19:54:24 +0200

Move Consistency.FileLocation to ./test

This fixes a compilation fail because of Credo's absence in MIX_ENV=prod

Diffstat:

M.credo.exs2+-
Rlib/credo/check/consistency/file_location.ex -> test/credo/check/consistency/file_location.ex0
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git 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