Skip to content

Commit

Permalink
fix(tools): Fix escaped json in shell script (#452)
Browse files Browse the repository at this point in the history
  • Loading branch information
wooj2 authored May 15, 2020
1 parent 67412ca commit 5b4b9d2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions AmplifyTools/amplify-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,9 @@ else
fi

if [ -z "$amplifyEnvName" ]; then
AMPLIFY="{\
\"envName\":\"amplify\"\
}"
AMPLIFY="{\"envName\":\"amplify\"}"
else
AMPLIFY="{\
\"envName\":\"${amplifyEnvName}\"\
}"
AMPLIFY="{\"envName\":\"${amplifyEnvName}\"}"
fi
PROVIDERS="{\
\"awscloudformation\":$AWSCLOUDFORMATIONCONFIG\
Expand Down

0 comments on commit 5b4b9d2

Please sign in to comment.