From 45b007419e699cff7dfd5dde78de93007a9c7d38 Mon Sep 17 00:00:00 2001 From: BetaHuhn Date: Mon, 8 Mar 2021 00:04:02 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=8A=20Change=20sync=20log=20message?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/index.js | 3 +-- src/index.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5b4e99d7..3c262e12 100644 --- a/dist/index.js +++ b/dist/index.js @@ -30707,12 +30707,11 @@ const run = async () => { await git.setPrWarning() } + core.info(`Locally syncing file(s) between source and target repository`) const modified = [] // Loop through all selected files of the source repo await forEach(item.files, async (file) => { - core.info(`Looking for changed files`) - const fileExists = fs.existsSync(file.source) if (fileExists === false) return core.warning(`Source ${ file.source } not found`) diff --git a/src/index.js b/src/index.js index 3ecc5dde..3df3b113 100644 --- a/src/index.js +++ b/src/index.js @@ -47,12 +47,11 @@ const run = async () => { await git.setPrWarning() } + core.info(`Locally syncing file(s) between source and target repository`) const modified = [] // Loop through all selected files of the source repo await forEach(item.files, async (file) => { - core.info(`Looking for changed files`) - const fileExists = fs.existsSync(file.source) if (fileExists === false) return core.warning(`Source ${ file.source } not found`)