mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
Updated SC2195 (markdown)
@@ -19,7 +19,7 @@ esac
|
||||
|
||||
ShellCheck has detected that one of the patterns in a `case` statement will never match.
|
||||
|
||||
Often, this is due to mistaes in the case statement word that results in unintended literal characters. In the problematic code, there's a trailing space that will prevent the match from ever happening.
|
||||
Often, this is due to mistakes in the case statement word that results in unintended literal characters. In the problematic code, there's a trailing space that will prevent the match from ever succeeding.
|
||||
|
||||
For more examples of when this could happen, see [SC2193](https://github.com/koalaman/shellcheck/wiki/SC2193) for the equivalent warning for `[[ .. ]]` statements.
|
||||
|
||||
|
Reference in New Issue
Block a user