Skip to content

Commit 5b4b9d2

Browse files
authored
fix(tools): Fix escaped json in shell script (#452)
1 parent 67412ca commit 5b4b9d2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

AmplifyTools/amplify-tools.sh

+2-6
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,9 @@ else
5050
fi
5151

5252
if [ -z "$amplifyEnvName" ]; then
53-
AMPLIFY="{\
54-
\"envName\":\"amplify\"\
55-
}"
53+
AMPLIFY="{\"envName\":\"amplify\"}"
5654
else
57-
AMPLIFY="{\
58-
\"envName\":\"${amplifyEnvName}\"\
59-
}"
55+
AMPLIFY="{\"envName\":\"${amplifyEnvName}\"}"
6056
fi
6157
PROVIDERS="{\
6258
\"awscloudformation\":$AWSCLOUDFORMATIONCONFIG\

0 commit comments

Comments
 (0)