Skip to content
This repository was archived by the owner on Oct 31, 2018. It is now read-only.

Commit 2e8a430

Browse files
freakingawesomejpignata
authored andcommitted
Remove carriage returns in account_id
When run from a mingw bash on Windows, a dangling carriage return caused deployment problems. This removes that possibility
1 parent d37185a commit 2e8a430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/deploy

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ stack_name=ServerlessImageResize
66
region="$(aws configure get region)"
77
bucket_name="temp-serverless-resize-$(openssl rand -hex 8)"
88
account_id="$(aws sts get-caller-identity --query Account --output text \
9-
| xargs echo -n)"
9+
| xargs echo -n | tr -d '\r')"
1010

1111
set -o xtrace
1212

0 commit comments

Comments
 (0)