Skip to content

Commit

Permalink
more shellcheck fun
Browse files Browse the repository at this point in the history
  • Loading branch information
meyertst-aws authored and DavidSouther committed Nov 13, 2023
1 parent 8dd37fa commit 2fb003d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion aws-cli/bash-linux/.shellcheckrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Look for 'source'd files relative to the checked script.
source-path=SCRIPTDIR
source-path=SCRIPTDIR/..
source-path="s3/bucket-lifecycle-operations"
source-path=aws-cli/bash-linux/s3/bucket-lifecycle-operations
3 changes: 1 addition & 2 deletions aws-cli/bash-linux/dynamodb/tests/test_dynamodb_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -364,9 +364,8 @@ function main() {
rm "$test_attributes_values_json_file"
rm "$test_requested_values_json_file"

# shellcheck disable=SC2154
echo "$test_succeeded_count tests completed successfully."
# shellcheck disable=SC2154

echo "$test_failed_count tests failed."
}

Expand Down
1 change: 0 additions & 1 deletion aws-cli/bash-linux/iam/tests/test_iam_examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ function main() {
"iam_create_user -u $user_name " \
0

# shellcheck disable=SC2154
local user_arn="$test_command_response"
test_count=$((test_count + 1))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ function main() {
0
test_count=$((test_count + 1))

# shellcheck disable=SC2154
local datastore_id="$test_command_response"

run_test "$test_count List datastores" \
Expand Down

0 comments on commit 2fb003d

Please sign in to comment.