Skip to content

Commit

Permalink
Merge pull request #1133 from tomasz-tomczyk/fix-files-included
Browse files Browse the repository at this point in the history
Fix the path for included files in umbrella apps
  • Loading branch information
rrrene committed Jun 2, 2024
2 parents 343aa81 + 7448378 commit 980f56e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/credo/check/design/skip_test_without_comment.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Credo.Check.Design.SkipTestWithoutComment do
id: "EX2003",
base_priority: :normal,
param_defaults: [
files: %{included: ["test/**/*_test.exs"]}
files: %{included: ["**/*_test.exs"]}
],
explanations: [
check: """
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/check/refactor/pass_async_in_test_cases.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Credo.Check.Refactor.PassAsyncInTestCases do
id: "EX4031",
base_priority: :normal,
param_defaults: [
files: %{included: ["test/**/*_test.exs"]}
files: %{included: ["**/*_test.exs"]}
],
explanations: [
check: """
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/check/warning/wrong_test_file_extension.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Credo.Check.Warning.WrongTestFileExtension do
id: "EX5025",
base_priority: :high,
param_defaults: [
files: %{included: ["test/**/*_test.ex"]}
files: %{included: ["**/*_test.ex"]}
],
explanations: [
check: """
Expand Down

0 comments on commit 980f56e

Please # to comment.