From 3b63dda1d83784ea6479ec24890f77bf0c7a53a6 Mon Sep 17 00:00:00 2001 From: Philipp Horstenkamp Date: Mon, 25 Dec 2023 02:17:22 +0100 Subject: [PATCH] Removed the index.js --- index.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/index.js b/index.js index 2d9cbe1..cfab3d4 100644 --- a/index.js +++ b/index.js @@ -19,12 +19,10 @@ const path = require("path"); */ function replacePlaceholders(content) { const deployTime = new Date().toISOString(); - content = content + return content .replace(/{{gitHash}}/g, process.env.GITHUB_SHA) .replace(/{{gitRef}}/g, process.env.GITHUB_REF) .replace(/{{deployTime}}/g, deployTime); - core.info(content); - return content; } /** @@ -41,8 +39,6 @@ function replacePlaceholders(content) { async function readReplaceAndWriteFiles(pattern, prefix) { return new Promise((resolve, reject) => { const globPattern = prefix ? path.join(prefix, pattern) : pattern; - core.info("globPattern"); - core.info(globPattern); glob(globPattern, async (err, files) => { if (err) {