From aa2e43b5c4ee9b70f843717c6061387b55dfc466 Mon Sep 17 00:00:00 2001 From: Jyotsna Date: Fri, 20 Nov 2020 23:29:52 +0530 Subject: [PATCH] bug fixes --- lib/constants.js | 2 +- src/constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/constants.js b/lib/constants.js index 336e843e..89c31db1 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -38,7 +38,7 @@ function getWorkflowAnnotationsJson(lastSuccessRunSha, workflowFilePath, filePat + `'lastSuccessRunCommit': '${lastSuccessRunSha}',` + `'branch': '${process.env.GITHUB_REF}',` + `'deployTimestamp': '${Date.now()}',` - + `'filePathConfigs': '${JSON.stringify(filePathConfigs)}',` + + `'filePathConfigs': '${filePathConfigs}',` + `'provider': 'GitHub'` + `}`; } diff --git a/src/constants.ts b/src/constants.ts index b0364704..b805c3ec 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -38,7 +38,7 @@ export function getWorkflowAnnotationsJson(lastSuccessRunSha: string, workflowFi + `'lastSuccessRunCommit': '${lastSuccessRunSha}',` + `'branch': '${process.env.GITHUB_REF}',` + `'deployTimestamp': '${Date.now()}',` - + `'filePathConfigs': '${JSON.stringify(filePathConfigs)}',` + + `'filePathConfigs': '${filePathConfigs}',` + `'provider': 'GitHub'` + `}`; }