Move Consistency.FileLocation to ./test

This fixes a compilation fail because of Credo's absence in MIX_ENV=prod
origin/neckbeard
Haelwenn (lanodan) Monnier 2 years ago
parent 8b6221d4ec
commit f5d8af1db1
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
  1. 2
      .credo.exs
  2. 0
      test/credo/check/consistency/file_location.ex

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

Loading…
Cancel
Save