Browse Source

Move Consistency.FileLocation to ./test

This fixes a compilation fail because of Credo's absence in MIX_ENV=prod
1668/default-disable-prometheus
Haelwenn (lanodan) Monnier 3 years ago
parent
commit
f5d8af1db1
No known key found for this signature in database GPG Key ID: D5B7A8E43C997DEE
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 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:


lib/credo/check/consistency/file_location.ex → test/credo/check/consistency/file_location.ex View File


Loading…
Cancel
Save