浏览代码

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 查看文件


正在加载...
取消
保存