Przeglądaj źródła

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 lat temu
rodzic
commit
f5d8af1db1
Nie znaleziono w bazie danych klucza dla tego podpisu ID klucza GPG: D5B7A8E43C997DEE
2 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      .credo.exs
  2. +0
    -0
      test/credo/check/consistency/file_location.ex

+ 1
- 1
.credo.exs Wyświetl plik

@@ -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 Wyświetl plik


Ładowanie…
Anuluj
Zapisz