Updated SC2054 (markdown)

koalaman
2016-09-29 14:15:55 -07:00
parent d2104173f5
commit 7e137f4199

@@ -19,8 +19,8 @@ You appear to have used commas to separate array elements in an array assignment
In the problematic code, the first element is `-l,` with the trailing comma, and the executed command ends up being `ls -l, -d, --sort=size`.
In the correct code, there are no trailing commas and the command will be `ls -l -d --sort=size` as expected.
In the correct code, the trailing commas have been removed, and the command will be `ls -l -d --sort=size` as expected.
### Exceptions:
None (if you actually want a trailing comma in your strings, move it inside the quotes).
None (if you actually want a trailing comma in your strings, move them inside the quotes).