Move Consistency.FileLocation to ./test

This fixes a compilation fail because of Credo's absence in MIX_ENV=prod
This commit is contained in:
Haelwenn (lanodan) Monnier 2020-10-13 19:54:24 +02:00
parent 8b6221d4ec
commit f5d8af1db1
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
2 changed files with 1 additions and 1 deletions

View File

@ -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: