Skip to content

Commit cc1008e

Browse files
authored
Merge pull request #303 from julia-vscode/sp/pointless-and-desc
Fix PointlessAND description
2 parents f825715 + 72e9706 commit cc1008e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linting/checks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const LintCodeDescriptions = Dict{LintCodes,String}(IncorrectCallArgs => "Possib
3838
ConstIfCondition => "A boolean literal has been used as the conditional of an if statement - it will either always or never run.",
3939
EqInIfConditional => "Unbracketed assignment in if conditional statements is not allowed, did you mean to use ==?",
4040
PointlessOR => "The first argument of a `||` call is a boolean literal.",
41-
PointlessAND => "The first argument of a `&&` call is `false`.",
41+
PointlessAND => "The first argument of a `&&` call is a boolean literal.",
4242
UnusedBinding => "Variable has been assigned but not used.",
4343
InvalidTypeDeclaration => "A non-DataType has been used in a type declaration statement.",
4444
UnusedTypeParameter => "A DataType parameter has been specified but not used.",

0 commit comments

Comments
 (0)