Specify 'variable' in require-braces

This commit is contained in:
Vidar Holen 2019-05-14 18:48:41 -07:00
parent 64c9c83cc8
commit 861b63aa77
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ optionalTreeChecks = [
}, nodeChecksToTreeCheck [checkDefaultCase]) }, nodeChecksToTreeCheck [checkDefaultCase])
,(newCheckDescription { ,(newCheckDescription {
cdName = "require-braces", cdName = "require-variable-braces",
cdDescription = "Suggest putting braces around all variable references", cdDescription = "Suggest putting braces around all variable references",
cdPositive = "var=hello; echo $var", cdPositive = "var=hello; echo $var",
cdNegative = "var=hello; echo ${var}" cdNegative = "var=hello; echo ${var}"