diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-10-13 19:54:24 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2020-10-13 19:57:45 +0200 |
commit | f5d8af1db118ba87fccf59e3150d2c1dd58fd492 (patch) | |
tree | ecf11b59a4eb9e1d5c9b3b854e92ad87fb41bc04 | |
parent | 8b6221d4ecd1d7e354e7de831dd46e285cb85077 (diff) | |
download | pleroma-f5d8af1db118ba87fccf59e3150d2c1dd58fd492.tar.gz |
Move Consistency.FileLocation to ./test
This fixes a compilation fail because of Credo's absence in MIX_ENV=prod
-rw-r--r-- | .credo.exs | 2 | ||||
-rw-r--r-- | test/credo/check/consistency/file_location.ex (renamed from lib/credo/check/consistency/file_location.ex) | 0 |
2 files changed, 1 insertions, 1 deletions
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 index 500983608..500983608 100644 --- a/lib/credo/check/consistency/file_location.ex +++ b/test/credo/check/consistency/file_location.ex |