From 6ac70a1895b84c39d77266eee45576dffd3008d5 Mon Sep 17 00:00:00 2001 From: MJ Zhang <0618@users.noreply.github.com> Date: Mon, 13 May 2024 10:00:05 -0700 Subject: [PATCH] Update packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js Co-authored-by: Kamil Sobol --- .../amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js b/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js index 2b0b99320f8..c3163321411 100644 --- a/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js +++ b/packages/amplify-provider-awscloudformation/src/aws-utils/aws-cfn.js @@ -418,7 +418,7 @@ class CloudFormation { if (completeErr) { await this.collectStackErrors(cfnParentStackParams.StackName).then((errorDetails) => { - completeErr.message = `${completeErr.message} \n ${errorDetails}`; + completeErr.message = `${completeErr.message}${EOL}${errorDetails}`; reject(completeErr); }); } else {