Navigation Menu

Skip to content

Commit

Permalink
Rephrase some check messages
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Jan 20, 2020
1 parent ac66cd0 commit 6281377
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/credo/check/refactor/negated_conditions_in_unless.ex
Expand Up @@ -2,7 +2,7 @@ defmodule Credo.Check.Refactor.NegatedConditionsInUnless do
@moduledoc false

@checkdoc """
Unless blocks should not contain a negated condition.
Unless blocks should avoid having a negated condition.
The code in this example ...
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/check/refactor/unless_with_else.ex
Expand Up @@ -64,7 +64,7 @@ defmodule Credo.Check.Refactor.UnlessWithElse do
defp issue_for(issue_meta, line_no, trigger) do
format_issue(
issue_meta,
message: "Unless conditions should not have an `else` block.",
message: "Unless conditions should avoid having an `else` block.",
trigger: trigger,
line_no: line_no
)
Expand Down

0 comments on commit 6281377

Please sign in to comment.