From 7e137f4199270f3f5348b4a41cbcb2a72e2f39db Mon Sep 17 00:00:00 2001 From: koalaman Date: Thu, 29 Sep 2016 14:15:55 -0700 Subject: [PATCH] Updated SC2054 (markdown) --- SC2054.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SC2054.md b/SC2054.md index 985563c..b7f5572 100644 --- a/SC2054.md +++ b/SC2054.md @@ -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). \ No newline at end of file +None (if you actually want a trailing comma in your strings, move them inside the quotes). \ No newline at end of file