瀏覽代碼

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 年之前
父節點
當前提交
f5d8af1db1
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: D5B7A8E43C997DEE
共有 2 個檔案被更改,包括 1 行新增1 行删除
  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:


lib/credo/check/consistency/file_location.ex → test/credo/check/consistency/file_location.ex 查看文件


Loading…
取消
儲存