Browse Source

Move Consistency.FileLocation to ./test

This fixes a compilation fail because of Credo's absence in MIX_ENV=prod
Haelwenn (lanodan) Monnier 2 years ago
parent
commit
f5d8af1db1
2 changed files with 1 additions and 1 deletions
  1. 1 1
      .credo.exs
  2. 0 0
      test/credo/check/consistency/file_location.ex

+ 1 - 1
.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:

+ 0 - 0
lib/credo/check/consistency/file_location.ex → test/credo/check/consistency/file_location.ex