Skip to content

Commit a4b78f2

Browse files
committed
Ensuring correct version since aws --version reports to stderr.
1 parent b983b2e commit a4b78f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aws-code-deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ if ! typeExists "aws"; then
119119

120120
h2 "Installing AWS CLI"
121121
runCommand "sudo pip install awscli"
122-
success "Installing AWS CLI (`aws --version`) succeeded"
122+
success "Installing AWS CLI $(aws --version 2>&1) succeeded"
123123
else
124-
success "Dependencies met (aws: `aws --version`)."
124+
success "Dependencies met (aws: $(aws --version 2>&1))."
125125
fi
126126

127127

0 commit comments

Comments
 (0)